-
Notifications
You must be signed in to change notification settings - Fork 78
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
Node.js Foundation Diagnostics WorkGroup Meeting 2019-09-11 #326
Comments
Hi everyone! I would like to discuss the state of CPU profiling in production. Here: https://github.com/slonka/nodejs-production-ready-profiling is a summary and code samples of things that I've tried. I'm tagging @mmarchini since he's listed as CPU Profiling champion here: https://github.com/nodejs/diagnostics#current-initiatives |
@slonka I'm interested in why did you put the |
Just for context, the |
Because it's experimental and I did not check if it collects the same information as others.
Can you share some info about the overhead? I was worried that enabling inspector interface would cause a large performance hit.
Correct me if I'm wrong, but If it used the same C++ API then I guess it would not work with @mmarchini what about native frames? Has anything changed since #148 (comment) ? Also I've got an app that shows the following summary when run with
Is there any other way than using What's the state of |
still a TODO. We have been aiming to gather consensus on the overall structure and layout of the best practice content, but unfortunately that was not completed. Feel free to contribute to profiling best practices, if you are willing and have bandwidth ! |
Is this the right repo https://github.com/goldbergyoni/nodebestpractices#7-performance-best-practices ? |
I didn't even saw changes when the
The problem is not the C++ API but the way
Not in my knowledge and i'm pretty sure V8 will never be able to know that information without self-instrumenting the around the function call, which is exactly what |
No changes in that regard. If you also need C++ frames the best options are
The Inspector Protocol was created to be production-safe. It also separate features into Domains. The only domain that affects performance (afaik) is the |
@mmarchini So right now the best option to get the complete picture is A couple of questions about
I think that sampling profilers have low overhead but I do not think they are free. I'll try to create a benchmark in my repo. |
I have seen quite high memory overhead with the v8 CpuProfiler if the application profiled as a lot functions (really a lot...). But I'm quite sure that most applications are not effected by this. |
Pinging Peter to see if he's starting the meeting |
Seems to be started, must be the way I tried to join. |
was there a minute captured for this sitting? if so can we close this? |
meeting happened, closing |
Time
UTC Wed 11-Sep-2019 17:30 (05:30 PM):
Or in your local time:
Links
Agenda
Extracted from diag-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/node
nodejs/diagnostics
Invited
Observers/Guests
Notes
The agenda comes from issues labelled with
diag-agenda
across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.Joining the meeting
The text was updated successfully, but these errors were encountered: