Skip to main content

Lightweight benchmarking decorator.

Project description


Lightweight benchmarking decorator.


$ pip3 install performer


All benchmark results are output after the program ends.
The benchmark decorator does not affect the function output.

from performer import benchmark

def sum_range(n):
    return sum(range(n))

def hello():
    return "Hello"


Project details

Download files

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

Source Distribution (4.3 kB view hashes)

Uploaded source

Supported by

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