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 skip_zeros keyarg to analyze_malloc_fils. #73

Merged
merged 7 commits into from
May 8, 2024

Conversation

Azzaare
Copy link
Contributor

@Azzaare Azzaare commented May 7, 2024

Default behavior unchanged.

This would solve JuliaConstraints/PerfChecker.jl#38 and provide a similar option for those in need.

A test entry has been added (and passed).

Note that one of the tests (not introduced by this PR) fails on my local machine with Julia 1.10)

Please tell me if such a PR cannot be accepted. And do not hesitate to tag a new version otherwise!

EDIT: I am solving the error for Julia 1.x, x > 9, step by step. Who got the idea to make the Base parser evolve 🤣

EDIT2: done. This ugly fix tests the error message from process_file against the correct msg in 1.x when x > 9, for both windows and Unix …

Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9d8fba3) to head (0f1ead6).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          240       271   +31     
=========================================
+ Hits           240       271   +31     

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

src/memalloc.jl Outdated Show resolved Hide resolved
@Azzaare
Copy link
Contributor Author

Azzaare commented May 7, 2024

It should be ready to be merged! If #72 is rebased over main after that, it should pass the tests.

Note that the tests are likely to be broken again with changes in the parser in the future. We could let a note about it somewhere in the README.

@fingolfin fingolfin merged commit 9e1ce8f into JuliaCI:master May 8, 2024
11 checks passed
@Azzaare Azzaare deleted the skip_zeros branch May 8, 2024 05:43
@Azzaare
Copy link
Contributor Author

Azzaare commented May 13, 2024

Thanks again, both of you @IanButterworth @fingolfin

Would one of you mind tagging a new version?

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.

3 participants