powertools-lambda-python icon indicating copy to clipboard operation
powertools-lambda-python copied to clipboard

Maintenance: Make a PoC with memray to profile the memory usage of our utilities

Open leandrodamascena opened this issue 7 months ago • 0 comments

Why is this needed?

Memray is a memory profiler for Python. It can track memory allocations in Python code, in native extension modules, and in the Python interpreter itself. It can generate several different types of reports to help you analyze the captured memory usage data.

https://github.com/bloomberg/memray

Which area does this relate to?

Automation

Solution

Make a PoC with memray. Things to cover in this PoC:

  • [ ] Analyze the minimum and maximum expected usage per utility.
  • [ ] Test with different maximum memory configurations.
  • [ ] Create a graph and upload it somewhere for public visibility (make sense?)
  • [ ] Ideas?

Acknowledgment

leandrodamascena avatar Jun 26 '24 11:06 leandrodamascena