Yury Selivanov Profile picture
Co-founder & CEO of @edgedatabase • Python core developer • PSF fellow • async/await • asyncio • uvloop • asyncpg

Apr 20, 2022, 9 tweets

WOW.

Bloomberg finally opensourced memray—a new versatile memory profile for Python. Can't way to use it.

Thread 👇

1. It's fully open source (Apache 2), grab it here: github.com/bloomberg/memr…

2. Until now you never could have such a deep insight in how your app allocates memory. The tool is a must for any long-running services implemented with Python. With memray you can generate flame charts or all allocations and trace absolutely everything.

3. And this must be a Python snippet of the month:

4. It's sophisticated enough to peek into native code. So you can profile your numpy and pandas code with it. And it has a live mode. You can just run your code and see how it allocates memory as it runs. 🤯

5. A little birdie mentioned to me that @pyblogsal is one of the active contributors in memray. Let's keep it a secret 🫢

6. This is a Python client to @edgedatabase as it establishes a connection to the DB. cc @fantix @elprans

@Twitter Can we add an edit button just for this tweet? 🙏

7. Wow, this thread is blowing up. Here’s a link to my Spotify… err, github.com/edgedb/edgedb

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling