Skip to content

gchp/snakemeter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snakemeter

Statistical Python Profiler written in Rust

Command-line Usage

  1. ./build_release.sh

  2. 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 76.6%
  • Python 22.2%
  • Shell 1.2%