/perf8

Your Tool For Python Performance Tracking

Primary LanguagePythonApache License 2.0Apache-2.0

perf8

https://github.com/tarekziade/perf8/actions/workflows/ci.yml/badge.svg?branch=main

THIS IS ALPHA QUALITY, UNSUPPORTED, RUN AT YOUR OWN RISKS

Your Tool For Python Performance Tracking

perf8 is a curated list of tools to track the performance of your Python app.

The project will be pluggable, but also include a few opinionated wrappers to make it easier to report performances.

I am including 3 plugins:

  • perf8-gprof2dot - a cProfile to dot graph generator
  • perf8-spypy - a spy-py flamegraph generator
  • perf8-memray - a memory flamegraph generator
  • perf8-psutil - a psutil integration

And they will all run using the same command (and off by default):

perf8 --memray --psutil --spypy /my/python/script.py