yappi
pyinstrument
Our great sponsors
yappi | pyinstrument | |
---|---|---|
5 | 11 | |
1,369 | 6,105 | |
- | - | |
7.3 | 8.1 | |
about 1 month ago | 7 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
yappi
-
Profiling Python Code for Performance
yappi
- Yet Another Python Profiler, but this time thread&coroutine&greenlet aware.
- 10 Tools I Wish I Knew When I Started Working with Python
-
Spy on Python down to the Linux kernel level
I've just realised after posting that the AUR package uses the git version, so it's actually normal that we have to use git version for austin-tui too and not the pypi one. Just if someone like me install the pypi version without paying attention, the git one is necessary.
For async code, the issue with normal profiler is that we end up mostly in the event loop. In Python there is https://github.com/sumerc/yappi which has a notion of coroutine profiling (check the README there), so I'm wondering if this would make sense in the context of Austin.
Anyway thanks for your work!
- (How to) profile python code?
pyinstrument
-
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.
What are some alternatives?
py-spy - Sampling profiler for Python programs
python-socketio - Python Socket.IO server and client
memray - Memray is a memory profiler for Python
sanic - Accelerate your web app development | Build fast. Run fast.
austin - Python frame stack sampler for CPython
aioflask - Flask running on asyncio!
Bazel - a fast, scalable, multi-language and extensible build system
magda - Library for building Modular and Asynchronous Graphs with Directed and Acyclic edges (MAGDA)
junit2html
regta - 📅 Production-ready scheduler with async, multithreading and multiprocessing support for Python
doit - task management & automation tool