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

Add a warning to promote --aggregated if files are too big #556

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

pablogsal
Copy link
Member

Users tend to run memray over long running programs but they don't tend
to know about the --aggregated option, while most of the cases they
don't need the extra features that runnin with the default mode has.

Issue number of the reported bug or feature request: #

Describe your changes
A clear and concise description of the changes you have made.

Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context
Add any other context about your contribution here.

@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 94.44444% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 92.88%. Comparing base (41248ed) to head (bd291ad).
Report is 24 commits behind head on main.

Files Patch % Lines
src/memray/commands/common.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #556      +/-   ##
==========================================
+ Coverage   92.55%   92.88%   +0.33%     
==========================================
  Files          91       91              
  Lines       11304    11176     -128     
  Branches     1581     2042     +461     
==========================================
- Hits        10462    10381      -81     
+ Misses        837      795      -42     
+ Partials        5        0       -5     
Flag Coverage Δ
cpp 92.88% <94.44%> (+6.94%) ⬆️
python_and_cython 92.88% <94.44%> (-2.84%) ⬇️

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 force-pushed the file_format branch 4 times, most recently from 19aba57 to 6251dc0 Compare March 5, 2024 15:08
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed some fixes here, and made a comment/suggestion. Let me know what you think.

src/memray/_metadata.py Outdated Show resolved Hide resolved
src/memray/commands/common.py Outdated Show resolved Hide resolved
Users tend to run memray over long running programs but they don't tend
to know about the --aggregated option, while most of the cases they
don't need the extra features that runnin with the default mode has.

Signed-off-by: Pablo Galindo <[email protected]>
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@godlygeek godlygeek merged commit b8dd3aa into bloomberg:main Mar 6, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants