-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help is super slow in v3 #101
Help is super slow in v3 #101
Comments
Stay on v2 until sluggishness is resolved: oclif/plugin-help#101
Stay on v2 until sluggishness is resolved: oclif/plugin-help#101
Interesting, thanks for reporting. Didn't notice this but will take a further look. cc @chadian |
We have noticed significant performance problems with help in a new multi command CLI under development that contains a very large number of overall topics and commands in a hierarchical structure. A short investigation of the issue we are observing can be fixed for our case by locally caching the value of
Rewriting it as follows reduces our help output time from ~5.5s to ~300ms (with a prepared
I'll prepare a PR containing this shortly. |
Aims to fix or improve oclif#101
Aims to fix or improve oclif#101
With
"@oclif/plugin-help": "^2.2.3",
:With
"@oclif/plugin-help": "^3.1.0",
:The text was updated successfully, but these errors were encountered: