pyinstrument
🚴 Call stack profiler for Python. Shows you why your code is slow! (by joerick)
Nox
Flexible test automation for Python (by wntrblm)
pyinstrument | Nox | |
---|---|---|
11 | 2 | |
6,198 | 1,234 | |
- | 2.2% | |
7.7 | 8.4 | |
8 days ago | 14 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
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.
-
How to profile an asynchronous FastAPI server
I was wondering if you have any synchronous routes in your app? We have an open issue regarding those and would love some ideas for solutions :)
- How to expand to full traceback
-
Graphical Python Profiler
Is there something about the actual profiler that differs from existing tools like pyinstrument [1] or py-spy [2]? I know pyinstrument has various output options and I wonder if it could potentially output something readable by the Firefox Profiler tool.
[1] : https://github.com/joerick/pyinstrument
-
DRF Performance (How bad is this code?)
I would highly recommend looking into pyinstrument to profile your requests. I find the reports to be very readable, and it's very easy to setup with Django.
- Looking for app that visualizes python program
-
What are some python micro optimisations that you can/may *actually use* in your codebase?
I like to use pyinstrument for profiling. Uses stat sampling so it's quicker and builds a easy to grok report.
- (How to) profile python code?
-
Profiling async code with pyinstrument 4.0
Hello! I just released pyinstrument 4.0 on PyPI. pyinstrument was my first successful open-source package and I love seeing how much use it's getting in the community.
-
Getting started on profiling with python
PyInstrument, compared to cProfile or Yappi, it's a lot easier to use and requires much less configuration.
-
Looking Beyond Nox
Run pytest, under pyinstrument, and generate a webpage that presents performance data, in addition to a separate junit xml report.
Nox
Posts with mentions or reviews of Nox.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-29.
-
What're the cleanest, most beautifully written projects in Github that are worth studying the code?
I'm biased, but Nox is pretty well organized, documented, and commented.
-
Looking Beyond Nox
I've gone through what I assume is a fairly typical journey between different ways to run tasks related to a Python project: from hand-rolled shell and Python scripts, to tox, to Nox. To be honest, I'm not sure how many people have switched from tox to Nox, but now that I've used Nox, I don't ever want to edit a tox.ini file again.
What are some alternatives?
When comparing pyinstrument and Nox you can also consider the following projects:
py-spy - Sampling profiler for Python programs
tox - Command line driven CI frontend and development task automation tool.
yappi - Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
Invoke - Pythonic task management & command execution.
memray - Memray is a memory profiler for Python
tox-battery - Experiments with Tox plugin system
austin - Python frame stack sampler for CPython
PyBuilder - Software build automation tool for Python.
Bazel - a fast, scalable, multi-language and extensible build system
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:
junit2html
ninja - a small build system with a focus on speed