-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
[GSOC] Created a memory usage profile of the TARDIS example simulations #2531
[GSOC] Created a memory usage profile of the TARDIS example simulations #2531
Conversation
Signed-off-by: Asish Kumar <[email protected]>
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
*beep* *bop* Hi, human. I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently. Please add your name and email to In case you need to map an existing alias, follow this example. |
Signed-off-by: Asish Kumar <[email protected]>
Could you write a bit about what you found? What you might want to optimize? |
After going through the memory profiler, here are the functions/lines which are taking most memory and the possible optimizations that we can use:
|
Signed-off-by: Asish Kumar <[email protected]>
Signed-off-by: Asish Kumar <[email protected]>
Update: Added screenshots, html and replaced jupyter notebook with python code. |
Great! Can you describe what scalene does differently to memray? |
|
📝 Description
This PR is completes the second part of the objective of GSoC'24 idea "TARDIS Benchmarking and Performance Improvement". I have used memray and scalene to generate the memory usage profile. I have used the example simulation mentioned in quickstart.
Memray report:

Scalene report:

📌 Resources
https://bloomberg.github.io/memray
https://github.com/plasma-umass/scalene
🚦 Testing
How did you test these changes?
☑️ Checklist
build_docs
labelcc: @atharva-2001