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

tools: add mutex profile to heapWatch #5638

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

algorandskiy
Copy link
Contributor

@algorandskiy algorandskiy commented Aug 4, 2023

Summary

Add ability to capture mutex profile to heapWatch.py tool.
Usage example:

python3 ./test/heapwatch/heapWatch.py --period 10 --metrics \
 --mutex --blockinfo --runtime 3m -o ~/data/nodedata ~/networks/two-fut/Primary

Test Plan

Tested manually, example profile attached.
image

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Merging #5638 (6840c16) into master (72765c1) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5638      +/-   ##
==========================================
- Coverage   55.02%   55.00%   -0.03%     
==========================================
  Files         463      463              
  Lines       64494    64494              
==========================================
- Hits        35489    35473      -16     
- Misses      26635    26644       +9     
- Partials     2370     2377       +7     

see 8 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@iansuvak iansuvak left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@AlgoAxel AlgoAxel left a comment

Choose a reason for hiding this comment

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

looks like everything was already ready for use, so just needed to wire it into the cli.

@algorandskiy algorandskiy merged commit 259eb32 into algorand:master Aug 7, 2023
10 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