Skip to main content

A simple decorator to measure a function excecution time.

Project description

Simple Decorator to measure a function execution time.

Example

from how_long import timer


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

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

how-long-0.1.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

how_long-0.1.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file how-long-0.1.1.tar.gz.

File metadata

  • Download URL: how-long-0.1.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for how-long-0.1.1.tar.gz
Algorithm Hash digest
SHA256 78023a8b3da4b53b5c8737385648f07e6e04228e3a0888eb86d2de3f4c3621af
MD5 b1c7ec4adc4dfe66d00386d093f1ceff
BLAKE2b-256 4423e5bba85a7be077d632d39f4cc63051925be87383e42ea80f260935bd2fdb

See more details on using hashes here.

File details

Details for the file how_long-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: how_long-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for how_long-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16c8de4fd389187fa69748eae9a2daa4661f5de4ec127f8337f90578797a6713
MD5 0545e8e5760f5cc3daa9765076743241
BLAKE2b-256 e69c66f5ace60f713f50da6eecf4efbf808712f751119e7acbe7b3c296f04385

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page