Skip to content

Conversation

@IanButterworth
Copy link
Collaborator

@IanButterworth IanButterworth commented Feb 28, 2025

Closes #192

To keep the width additional minimal and to visually differentiate the different % columns this new column is just integer %'s which also makes sense because they will tend to be bigger % numbers.

julia> @timeit to "1" begin
               sleep(0.1)
               @timeit to "2" begin
                   sleep(0.1)
                   @timeit to "3" begin
                       sleep(0.1)
                   end
               end
           end

julia> to
────────────────────────────────────────────────────────────────────────────────
                              Time                          Allocations
                  ─────────────────────────────   ──────────────────────────────
Tot / % measured:         1.41s /  21.8%                 2.62MiB /   0.1%

Section   ncalls     time    %tot  %par     avg     alloc    %tot  %par      avg
────────────────────────────────────────────────────────────────────────────────
1              1    306ms  100.0%         306ms   3.19KiB  100.0%        3.19KiB
  2            1    204ms   66.7%   67%   204ms   1.64KiB   51.5%   51%  1.64KiB
    3          1    102ms   33.3%   50%   102ms      384B   11.8%   23%     384B
────────────────────────────────────────────────────────────────────────────────

@KristofferC what do you think? I can add tests & docs if you agree?

@codecov-commenter
Copy link

codecov-commenter commented Feb 28, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.94%. Comparing base (ada4b6c) to head (75bb4eb).
Report is 15 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #193       +/-   ##
===========================================
+ Coverage   84.82%   94.94%   +10.11%     
===========================================
  Files           5        6        +1     
  Lines         323      455      +132     
===========================================
+ Hits          274      432      +158     
+ Misses         49       23       -26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IanButterworth
Copy link
Collaborator Author

Something else to consider:

Screenshot 2025-03-08 at 8 34 51 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show %parent as well as %tot

2 participants