Skip to content
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

Fix reporting of "Own Memory" in TUI reporters #617

Merged
merged 1 commit into from
May 29, 2024

Conversation

godlygeek
Copy link
Contributor

The live and summary reporters include a column for the number of bytes directly allocated by a particular function (called "Own Bytes" or "Own Memory", with a corresponding column for the percentage of memory directly allocated by that function).

A bug in our summation led to us undercounting and misreporting these columns.

@godlygeek godlygeek added the bug Something isn't working label May 29, 2024
@godlygeek godlygeek self-assigned this May 29, 2024
The `live` and `summary` reporters include a column for the number of
bytes directly allocated by a particular function (called "Own Bytes" or
"Own Memory", with a corresponding column for the percentage of memory
directly allocated by that function).

A bug in our summation led to us undercounting and misreporting these
columns.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
@godlygeek godlygeek force-pushed the fix_tui_own_memory_reporting branch from e77f410 to ea1e5f8 Compare May 29, 2024 20:43
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.79%. Comparing base (41248ed) to head (ea1e5f8).
Report is 61 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #617      +/-   ##
==========================================
+ Coverage   92.55%   92.79%   +0.24%     
==========================================
  Files          91       92       +1     
  Lines       11304    11236      -68     
  Branches     1581     2058     +477     
==========================================
- Hits        10462    10427      -35     
+ Misses        837      809      -28     
+ Partials        5        0       -5     
Flag Coverage Δ
cpp 92.79% <100.00%> (+6.85%) ⬆️
python_and_cython 92.79% <100.00%> (-2.93%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pablogsal pablogsal enabled auto-merge (rebase) May 29, 2024 21:13
@pablogsal pablogsal merged commit 667983c into bloomberg:main May 29, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants