gilstats.py
A utility for dumping per-thread statistics for CPython GIL using eBPF (by sumerc)
per4m
Profiling and tracing information for Python using viztracer and perf, the GIL exposed. (by maartenbreddels)
Our great sponsors
gilstats.py | per4m | |
---|---|---|
1 | 4 | |
10 | 47 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | over 1 year ago | |
Python | Python | |
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.
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.
gilstats.py
Posts with mentions or reviews of gilstats.py.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-14.
-
Tracing and visualizing the Python GIL with perf and VizTracer
Note: We also see that pthread_cond_timedwait is called, this is what https://github.com/sumerc/gilstats.py uses for a eBPF tool, in case you are interested in other mutexes.
per4m
Posts with mentions or reviews of per4m.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-14.
-
Tracing and visualizing the Python GIL with perf and VizTracer
Indeed, that's one of the things I'd like to automate (and I'm very close now), feel free to contact me, we could maybe collaborate on this https://github.com/maartenbreddels/per4m
VizTracer is a Python tracer that can visualize what your program does in the browser. Let us run it on a slightly more advanced example to see what it looks like.
What are some alternatives?
When comparing gilstats.py and per4m you can also consider the following projects:
gil_load - Utility for measuring the fraction of time the CPython GIL is held
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
hBPF - hBPF = eBPF in hardware
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
py-spy - Sampling profiler for Python programs
h5py - HDF5 for Python -- The h5py package is a Pythonic interface to the HDF5 binary data format.
CPython - The Python programming language