question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable sampling profiler for better `bootup-time` attribution

See original GitHub issue

Feature request summary Enable the disabled-by-default-v8.cpu_profiler trace category.

What is the motivation or use case for changing this? In https://github.com/GoogleChrome/lighthouse/pull/7059#issuecomment-461924036 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.

https://github.com/GoogleChrome/lighthouse/blob/b4d9107263db043e6f776892571e4b9575c78a42/lighthouse-cli/test/smokehouse/tricky-metrics/expectations.js#L63-L71

How is this beneficial to Lighthouse? Improved attribution of scripts and the elimination of “Other” as a large category in bootup-time results.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:12
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
patrickhulcecommented, Jun 15, 2020

We decided to proceed here and add this data to bootup time in an additive way.

5reactions
patrickhulcecommented, Sep 13, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understand profiler performance collection methods
This document outlines the data collection methods that tools within the Visual Studio Performance Profiler utilize. Sampling. Sampling collects ...
Read more >
Maya Help | Profiling using MEL or Python or the API | Autodesk
Use the profiler command -sampling (-s) flag to enable and disable the recording of events; for example, as follows: profiler -s true; polyCube;...
Read more >
TIP: Time-Proportional Instruction Profiling
Sampling at commit hence enables time-proportional attribution, i.e., the load instruction is sampled more frequently because the processor ...
Read more >
Page 94 – Embedded Linux and kernel engineering - Bootlin
Fix the uClibc clean-up-O_CLOEXEC-handling patch · Re-enable the FD_PIC ELF configuration option · Add basic support for the Blackfin architecture · samples: add ......
Read more >
Untitled
Therefore, in comparison with taxonomies, ontologies allow a greater and more detailed knowledge at the level of the representation of behaviors [ 41...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found