-
Notifications
You must be signed in to change notification settings - Fork 25
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
Additional load caused by library #22
Comments
The threshold shouldn't affect the performance or memory consumption. |
Seems like it's not the issue with library itself but more the performance hit of using async hooks(https://github.com/bmeurer/async-hooks-performance-impact) |
I'm going to document the performance impact and explicitly explain this should not be run in production by default. |
warning added |
Using this method to monitor event loop lag causes additional load to memory and CPU in my case this was about ~15%.
I started with a rather large threshold value five seconds, could that cause just filling the cache map with stack traces and now cleaning up that fast https://github.com/naugtur/blocked-at/blob/master/index.js#L4L4 ?
The text was updated successfully, but these errors were encountered: