Skip to content

qbatten/ezprof

Repository files navigation

Intro

This is a (slightly janky) Python wrapper around memray's CLI interface.

Why is this better than a simple subprocess.call(['memray', 'run', 'myfile.py']...)? Well, it comes with a convenience function that lets you run a profile, generate a flamegraph, and (optionally) display the resulting flamegraph in your Jupyter cell, in a single Python function call. That's the main value-add right now.

Installation

Testing

Docker implementation details

Based on this article.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published