Percentage values in call tree
See original GitHub issueWhile checking out a few profiles, I got confused with the percentage values and thought the algorithm isn’t correct as the total values differed so much. After a closer look, it made sense, but I can imagine other users might run into that issue.
In that context, the 0%
values felt also a bit confusing. Is there a reason why we do not display the percentage values with 1 or 2 digits after the comma?
Following are some examples: profile 1
Edit: I saw this comment about self percentage values and this one contains the digits after the comma: https://github.com/devtools-html/perf.html/issues/935#issue-314442094
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Percentages and trees - math - Stack Overflow
You can define the %done as total (sub)nodes done divided by total (sub) nodes. Counting only the leaves. In this case:
Read more >Why Your Phone Tree Is a Liability—And How To Improve It
In this scenario, even with an 80 percent success rate, one-third of employees in the phone tree did not receive the information upon...
Read more >Call Tree View - PureDev Software
The Call Tree View shows where in your application memory was allocated from. ... Percent: Percent of the total memory allocated by the...
Read more >Call Tree | JustTrace Documentation - Telerik
Documentation about Call Tree in JustTrace. Get the help you need online. ... Percentage is measured against the total running time of the...
Read more >Tree Testing Part 2: Interpreting the Results
The success rate for that task indicates the percentage of users who found the correct location in the tree and identified it as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool! 😃
How about a vote for which consistent behavior we want @past @gregtatum @mstange @canaltinova @julienw ? 👍 display no digits after 🎉 display 1 digit after ❤️ display 2 digits after
Note that for your profile 2, I don’t think a digit would actually make a difference. But I don’t know why we decide to display 0 or 1 digits for the percentage values based on the interval value, I don’t think this makes sense.