-
Notifications
You must be signed in to change notification settings - Fork 421
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
Hide the pid in global tracks if it is 0. #5361
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5361 +/- ##
=======================================
Coverage 85.84% 85.84%
=======================================
Files 312 312
Lines 29827 29829 +2
Branches 8213 8215 +2
=======================================
+ Hits 25605 25607 +2
Misses 3627 3627
Partials 595 595 ☔ View full report in Codecov by Sentry. |
Here's a profile from But I think it's possible to have samples for PID 0. Here's a quote from a stackoverflow reply:
I'm not opposed to the suggested change in this PR, but we should be aware that sometimes, a pid of zero is legitimate. |
Should we instead change the size-profiler to make thread.pid an empty string, and hide the pid when the string is empty? (currently it's only hidden when the string is null, which isn't possible for actual thread, but happens for screenshot tracks) |
I think this might cause other problems because in the URL we encode some things keyed by pid, and I'm not sure if that would still work properly if the pid is empty. Let's go with what you have. In the future we could change the URL encoding to use process indexes, and have a central list of processes so that the process start/stop/name information is deduplicated. Then we can afford empty pids. |
## Updates: [Nicolas Chevobbe] Make timeline ruler notches visible in High Contrast Mode (#5346) [Nazım Can Altınova] Add the ability to mark marker fields as hidden (#5354) [Maxx Crawford] Update guide-startup-shutdown.md (#5357) [Nazım Can Altınova] Enable prettier on the docs-user markdown files (#5358) [Paul Adenot] Allow searching by Content-Type in the network marker view (#5351) [Florian Quèze] Hide the pid in global tracks if it is 0. (#5361) [Markus Stange] Make inverting the call tree fast, by computing inverted call nodes lazily (#4900) [Markus Stange] Use 64-bit floats for call tree timings. (#5371) [Markus Stange] Extend the workaround in the v53 upgrader to generate missing subcategory columns. (#5369) ## Also thanks to our localizers: de: Michael Köhler el: Jim Spentzos en-GB: Paul es-CL: ravmn fr: Théo Chevalier fur: Fabio Tomat fy-NL: Fjoerfoks ia: Melo46 it: Francesco Lodolo nl: Mark Heijl pt-BR: Marcelo Ghelman ru: Valery Ledovskoy sv-SE: Luna Jernberg, Andreas Pettersson tr: Grk uk: Іhor Hordiichuk zh-CN: Olvcpr423 zh-TW: Pin-guang Chen
This will make size profiles look nicer.
Example profile: https://share.firefox.dev/42MdeHQ