Nox
pyinstrument
Our great sponsors
Nox | pyinstrument | |
---|---|---|
2 | 11 | |
1,202 | 6,051 | |
2.7% | - | |
8.2 | 8.1 | |
12 days ago | 16 days ago | |
Python | Python | |
Apache License 2.0 | 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.
Nox
-
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.
pyinstrument
-
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.
- 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?
-
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.
-
Can you recommend a function call logging tool?
Although meant for profiling, pyinstrument does this quite well and has a tree viz. I'd not recommend turning it on in production though since the overhead is non-trivial.
What are some alternatives?
tox - Command line driven CI frontend and development task automation tool.
Invoke - Pythonic task management & command execution.
py-spy - Sampling profiler for Python programs
tox-battery - Experiments with Tox plugin system
yappi - Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
PyBuilder - Software build automation tool for Python.
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:
ninja - a small build system with a focus on speed
memray - Memray is a memory profiler for Python
BitBake - The official bitbake Git is at https://git.openembedded.org/bitbake/. Do not open issues or file pull requests here.
meson - The Meson Build System
Stilus - A Stylus css compiler in Python.