Greenlet-aware Python performance profiler, built on yappi.
Project description
- Info:
Greenlet-aware Python performance profiler, built on yappi.
Documentation: http://GreenletProfiler.readthedocs.org/
About
A low-overhead deterministic performance profiler, similar to cProfile or Yappi, which understands greenlet context-switches. Suitable for profiling Gevent-based applications.
Dependencies
Python 2.6, 2.7, or 3.2 or later.
Example
GreenletProfiler.set_clock_type('cpu')
GreenletProfiler.start()
my_function()
GreenletProfiler.stop()
stats = GreenletProfiler.get_func_stats()
stats.print_all()
stats.save('profile.callgrind', type='callgrind')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GreenletProfiler-0.1.tar.gz
(24.7 kB
view details)
File details
Details for the file GreenletProfiler-0.1.tar.gz
.
File metadata
- Download URL: GreenletProfiler-0.1.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dfa0726cb46fe8b061b21cb9b9c75aea0fe0417c0f6f72e6ecb5b6f0664e488 |
|
MD5 | f2b88e8ecf0b3ace8adc574ddab04196 |
|
BLAKE2b-256 | 341069491ce59a4720dcd2277888d45103ec48cb2199669325f4be38cd148081 |