gilstats.py
A utility for dumping per-thread statistics for CPython GIL using eBPF (by sumerc)
gil_load
Utility for measuring the fraction of time the CPython GIL is held (by chrisjbillington)
Our great sponsors
gilstats.py | gil_load | |
---|---|---|
1 | 1 | |
10 | 109 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | over 2 years ago | |
Python | Cython | |
MIT License | BSD 2-clause "Simplified" 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.
gil_load
Posts with mentions or reviews of gil_load.
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 that the per4m perf2trace gil subcommand also gives a gil_load like output. From this output, we see that both threads are waiting for the GIL approximately 50% of the time, as expected.
What are some alternatives?
When comparing gilstats.py and gil_load you can also consider the following projects:
hBPF - hBPF = eBPF in hardware
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
h5py - HDF5 for Python -- The h5py package is a Pythonic interface to the HDF5 binary data format.
per4m - Profiling and tracing information for Python using viztracer and perf, the GIL exposed.
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
CPython - The Python programming language