aws-powertools / powertools-lambda-python

A developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/python/latest/
MIT No Attribution
2.71k stars 376 forks source link

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

Open leandrodamascena opened 4 days ago

leandrodamascena commented 4 days ago

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:

Acknowledgment