py-spy VS pyinstrument

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

pyinstrument

šŸš“Ā Call stack profiler for Python. Shows you why your code is slow! (by joerick)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
py-spy pyinstrument
25 11
11,850 6,125
- -
6.4 7.7
17 days ago 10 days ago
Rust Python
MIT License BSD 3-clause "New" or "Revised" 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.

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.

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.

What are some alternatives?

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

pyflame

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

python-uncompyle6 - A cross-version Python bytecode decompiler

memray - Memray is a memory profiler for Python

memory_profiler - Monitor Memory usage of Python code

austin - Python frame stack sampler for CPython

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

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

line_profiler

junit2html

profiling

doit - task management & automation tool