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.

Percentage values in call tree

See original GitHub issue

While 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

screen shot 2018-06-26 at 4 59 34 pm

profile 2

screen shot 2018-06-26 at 4 57 15 pm

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:closed
  • Created 5 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

9reactions
zoepagecommented, Jul 13, 2018

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

2reactions
julienwcommented, Jun 27, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

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