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.2.tar.gz (2.1 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.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: how-long-0.1.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Linux/5.9.3-1-MANJARO

File hashes

Hashes for how-long-0.1.2.tar.gz
Algorithm Hash digest
SHA256 aed0d922378936f1e373568aa10df21910b61c877601f2b9e5d8393e1197e06f
MD5 aa1f65745816e04cefa92987e2a1900b
BLAKE2b-256 f1bc7b3ac4a6499a333045c8adf6207983f00cb36b9d787e65cceddb5fe093a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: how_long-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Linux/5.9.3-1-MANJARO

File hashes

Hashes for how_long-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47ad25f5074ddc5a67a216fa7e4bc236b8971bdb387dea54f4cd50f42dc09f20
MD5 34c67c78f81b62ff3d24d99f3a35ca4f
BLAKE2b-256 e104387d288797aea1645a6c02ec8f09fb3bb3597d6c2a872c4272a8714a3bdb

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