-
Notifications
You must be signed in to change notification settings - Fork 31
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
Memray memory profiler support for mrun command line tool #794
Merged
+179
−16
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4c3d65a
Feat: Basic implementation of memray profiler for mrun
tsmathis 4adddc9
Enable memray to profile forked processes
tsmathis 220eeca
Update cli settings to get system's temp directory to dump .bin files…
tsmathis 8482705
Update requirements.txt and setup.py to include memray dependency for…
tsmathis 2e4c2ae
Update memray .bin file write destination to default to the user's pl…
tsmathis d1c295b
Merge branch 'main' into memray_profiler
tsmathis ce66790
Reverts changes in commit 8482705df3a1d63f211fdfc6b74db38a04d2e8a1, r…
tsmathis 160fcd9
Add memray to requirements-optional.txt to keep base maggma installat…
tsmathis 30b6649
Ensure section headings are all title case
tsmathis c17829d
Automatically generate flamegraph after builder finishes for user con…
tsmathis 95a32ab
Add Memory Profiling section to Running Builders documentation
tsmathis 6e25bb7
Add option for user to supply target directory for profiler output files
tsmathis 279538f
Fix --memray-dir help text line length for linting
tsmathis a447433
Remove unused import
tsmathis a6e53a9
Remove trailing whitespaces
tsmathis cd7b6e0
Add tests checking mrun functionality with memray and creation of non…
tsmathis 1e5277f
Add info to running builders docs for -md flag which allows user to s…
tsmathis 50cef25
Remove reference to installing maggma from source in running builders…
tsmathis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ regex==2022.9.13 | |
montydb==2.4.0 | ||
azure-storage-blob==12.16.0 | ||
azure-identity==1.12.0 | ||
memray==1.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it necessary to install
maggma
from source in order for this to work? Is it not possible topip install maggma
and then install the optionalmemray
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you are right, I will correct that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!