Skip to main content

Greenlet-aware Python performance profiler, built on yappi.

Project description

Info:Greenlet-aware Python performance profiler, built on yappi.
Author: A. Jesse Jiryu Davis

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.
  • Greenlet.

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for GreenletProfiler, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size GreenletProfiler-0.1.tar.gz (24.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page