gil_load
Utility for measuring the fraction of time the CPython GIL is held (by chrisjbillington)
per4m
Profiling and tracing information for Python using viztracer and perf, the GIL exposed. (by maartenbreddels)
Our great sponsors
gil_load | per4m | |
---|---|---|
1 | 4 | |
109 | 47 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 1 year ago | |
Cython | Python | |
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.
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.
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 gil_load and per4m you can also consider the following projects:
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
gilstats.py - A utility for dumping per-thread statistics for CPython GIL using eBPF
h5py - HDF5 for Python -- The h5py package is a Pythonic interface to the HDF5 binary data format.
py-spy - Sampling profiler for Python programs
CPython - The Python programming language