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

Benchmarking and Performance Improvement: objective 2 memory profiler #2550

Closed
wants to merge 1 commit into from

Conversation

haleelsada
Copy link

📝 Description

Type: :🌞 GSoC

PR on second objective Create a memory usage profile of idea TARDIS Benchmarking and Performance Improvement GSOC'24.

memray

Observation:
montecarlo_main_loop and various imports consume most of the memory. few suggestions that can be followed to reduce this:

  • Examine imports and change high memory consuming imports.
  • In montecarlo_main_loop replace lists with numpy arrays.
  • There are lots of copying happening inside the function. minimize those copies.
  • Optimize loop to minimize unnecessary operations.
  • Try to change data structures to use minimum memory overhead.

📌 Resources

memray

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

@tardis-bot
Copy link
Contributor

*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 .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

@haleelsada haleelsada changed the title added memray memory profiler Benchmarking and Performance Improvement: objective 2 memory profiler Mar 15, 2024
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.

6 participants