-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 better bootup-time
attribution
#8526
Comments
I've found a way to get those numbers. I've been loading the script with |
Thanks @radical-edo! That's expected at the moment, #9200 outlined that specific shortcoming and is one of the cases that would be solved by the sampling profiler. It's mainly modules and specific types of async callback work. |
😞 |
@OZZlE if by "flag" you're referring to The lack of movement here is not because we don't want to do it or it's hard to do, it's around the current belief that this trace category would drastically impact the other performance results. Until we can show convincingly otherwise, it will not be implemented. |
How can we verify the impact of this? DZL?? |
Yep, the last time I tried this out in DZL there was no observable impact, but that didn't seem to convince anyone at the time. |
I'm also having a problem with a site that reports most of the time spent on "Other". Could someone who understands lighthouse a bit explain what known things can end up in this category? |
Could it be implemented as a Flag? Perhaps enabling it requires a restart of Chrome but I would be fine with it. Even if it affects the over-all scoring of a website, you could at least see where this Other time is coming from; fix that issue, disable the flag and re-run the Audit in Chrome without the flag enabled.. As it is now you could even think that this is just some made-up thing "Other", how do we as web developer know if it's a real thing even right now? When we have no way of seeing what this actually is.. |
Adding as an option is a neat idea @OZZlE I like it! |
What's the status on this? Has it been released? |
I'd love to see this ready- my page is running smoothly but it gets poor Performance score with 15seconds in "Others" section, I'm really curious what is hiding there |
We decided to proceed here and add this data to bootup time in an additive way. |
@patrickhulce what does that mean? 😕 In PageSpeed I no longer see any "Other" but in Chrome I still see it.. Did you implement any flag we can enable to see what it is? |
That's exactly what this issue is about :) |
#11608 lays out the next steps:
Let's start validating the new profile model:
|
I think it could work, just want to define success criteria that we can work toward, rather than a rarely tested LH mode that we can't really comment on beyond "it may be more accurate and might not have excessive impact on other results" :) Running with and without the extra category and doing a comparison of the difference makes sense as a first step. |
Feature request summary
Enable the
disabled-by-default-v8.cpu_profiler
trace category.What is the motivation or use case for changing this?
In #7059 (comment) we discussed enabling the sampling profiler to improve the attribution of scripts in
bootup-time
audit. Additionally, one of our smoketests that tests attribution was thought to only require async stacks, but turns out also needs sampling profiler now due to other restructuring of tasks.lighthouse/lighthouse-cli/test/smokehouse/tricky-metrics/expectations.js
Lines 63 to 71 in b4d9107
How is this beneficial to Lighthouse?
Improved attribution of scripts and the elimination of "Other" as a large category in
bootup-time
results.The text was updated successfully, but these errors were encountered: