pyinstrument VS py-spy

Compare pyinstrument vs py-spy and see what are their differences.

pyinstrument

šŸš“Ā Call stack profiler for Python. Shows you why your code is slow! (by joerick)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pyinstrument py-spy
11 25
6,125 11,850
- -
7.7 6.4
10 days ago 17 days ago
Python Rust
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pyinstrument

Posts with mentions or reviews of pyinstrument. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.

py-spy

Posts with mentions or reviews of py-spy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.

What are some alternatives?

When comparing pyinstrument and py-spy you can also consider the following projects:

yappi - Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.

pyflame

memray - Memray is a memory profiler for Python

python-uncompyle6 - A cross-version Python bytecode decompiler

austin - Python frame stack sampler for CPython

memory_profiler - Monitor Memory usage of Python code

Bazel - a fast, scalable, multi-language and extensible build system

icecream - šŸ¦ Never use print() to debug again.

junit2html

line_profiler

doit - task management & automation tool

profiling