-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Enable sampling profiler for bootup time attribution #9200
Comments
@patrickhulce agreed, this is more of a feature request. Thanks for labelling it correctly! I looked in main-thread-tasks.js and then trace data (manually) from that minimal example I have linked. This might not be straightforward to implement since I can see that the |
Yeah getting attribution for several of these remaining |
@patrickhulce can we merge this and #8526? |
Oh yeah there it is I thought we had one! @csabapalfi we'll merge this into #8526 as the same root fix, but thank you very much for the repro URL that will help implementation! |
Thanks @patrickhulce! Also I wonder if anything can be done in Chromium instead (assuming the sampling profiler is that expensive). |
As mentioned here in this comment and since that issue has been closed and moved I'll just continue here :) The problem is that I have a JS file that it takes about 20 ms to parse, but the scripting is 0ms. So it's quite a big file, but execution is nil, which I find quite suspicious. Most of what that file does, since it's bundled up from loads of smaller files and each file wraps its contents in an IIFE and registers to |
Actually this has been closed as well and the main issue tracking this is #8526 |
Provide the steps to reproduce
What is the current behavior?
v8.moduleEvaluation
script evaluation tasks are not attributed to URLsbootup-time
(Reduce JavaScript execution time) audit aggregates all module script execution underOther
instead of showing URL breakdownWhat is the expected behavior?
bootup-time
audit instead of aggregated asOther
Environment Information
Related issues
N/A
The text was updated successfully, but these errors were encountered: