pyinstrument_cext
Pyinstrument's C extensions - reducing the overhead of statistical profilers.
API
pyinstrument_cext.setstatprofile(profilefunc, interval)
Sets the statistal profiler callback. The function in the same manner as setprofile, but
instead of being called every on every call and return, the function is throttled - called no more
than every interval
seconds with the current stack.
Changelog
0.2.2
- Avoid the immediate callback to the profiler function, setstatprofile
now waits for
interval
before calling the function.
0.2.0
- Add support for multi-threading. Profiling sessions are per-thread, and they don't conflict with each other.
0.1.6
- Fixes to CI configuration
0.1.3
- Added LICENSE to sdist
0.1.2
- Added CI build/test/deployment