Skip to main content

Measure exec time

Project description

elapsed_time

from elapsed_time import elapsed

@elapsed
def test():
    for _ in range(0,10000000):
        pass

test()

>>> Elapsed time: 0.16048717498779297

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

elapsed_time-0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

elapsed_time-0.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file elapsed_time-0.3.tar.gz.

File metadata

  • Download URL: elapsed_time-0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for elapsed_time-0.3.tar.gz
Algorithm Hash digest
SHA256 9f1b5c4029e99cfbe90ed7fb85aa45148053dc879228ee58fb91f101981cac49
MD5 ad00df39bd7b8c11d00757bc91c35998
BLAKE2b-256 1862a3a90b12ddf5c03360dfcf27978c9b78b1aecd271860800bb19902c50baa

See more details on using hashes here.

File details

Details for the file elapsed_time-0.3-py3-none-any.whl.

File metadata

  • Download URL: elapsed_time-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for elapsed_time-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 386341b3cdf778718a70b59a0550e55c2c9ecf6377eb3d096037cf8fe2b18a30
MD5 2e1a9c75a0e3dcb736772570ff85dc46
BLAKE2b-256 a224ee40fb07faa45d53360515e154be53741dadb81cbe7bf5d4558c9e6cf6f5

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