-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] process.report.getReport() is very very slow on win32 #95
Comments
Just adding some additional context I've come across:
Also, just noting that even if this value is cached, users will still incur the cost of executing |
I think caching is the right balance of doing things correctly, but as fast as possible inside those parameters. We will not be string pattern matching the This is at heart a Node.js bug. |
Even if |
An alternative that would technically work and be correct but is probably not the right path for npm itself would be to use node_gyp and expose a direct call to |
report.excludeNetwork is probably the path of least resistance here. We should get that in sooner than later. |
It is very slow in win32 environments and we don't need that info here Closes: #95
Is there an existing issue for this?
Current Behavior
According to @dstaley it can take tens of seconds for
process.report.getReport
to return on a win32 system. The results of this should be cached in some way that doesn't also require hacks to reset that cache during testing.Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
The text was updated successfully, but these errors were encountered: