Skip to main content

A simple decorator to measure a function execution time

Project description

Simple Decorator to measure a function execution time.

Example

from longhow import timer


@timer
def some_function():
    return [x for x in range(10_000_000)]

Project details


Release history Release notifications

Download files

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

Files for longhow, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size longhow-0.1.0-py3-none-any.whl (1.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size longhow-0.1.0.tar.gz (1.4 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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page