snakemeter
Statistical Python Profiler written in Rust
Command-line Usage
-
./build_release.sh
-
python snakemeter.py <your_python_script>
Program Usage
import snakemeter
sampler = snakemeter.Sampler(rate=500)
sampler.start()
try:
# your code
finally:
sampler.stop()
sampler.print_stats()
Limitations
Currently supports only CPython 2.7.x