Skip to main content

Very simple profiler of time execution

Project description

# nano_profiler
Extreme simple profiler of time execution of code.
The major goal of `none_profiler` is simple time measure in long chain of code execution,
such as web applications.

## Quick example

from time import sleep

from nano_profiler import NanoProfiler

n_p = NanoProfiler(name='Foo bar baz profiler', autostart=True)

def foo():

def bar():

def baz():


-------------------Statistic of profiler Foo bar baz profiler-------------------
1: Foo execute in 0.102 seconds
2: bar execute in 0.100 seconds
3: baz execute in 0.000 seconds

Project details

Download files

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

Files for nano-profiler, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size nano_profiler-0.1.9.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page