Skip to main content

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)]

Metadata

Release files for how-long 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for how-long 0.1.2
File Size Uploaded
how-long-0.1.2.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for how-long 0.1.2
File Interpreter ABI Platform
how_long-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / how-long-0.1.2.tar.gz

Download URL how-long-0.1.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aed0d922378936f1e373568aa10df21910b61c877601f2b9e5d8393e1197e06f
BLAKE2b-256 checksum
How to use checksums
f1bc7b3ac4a6499a333045c8adf6207983f00cb36b9d787e65cceddb5fe093a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.6 Linux/5.9.3-1-MANJARO

Release files / how_long-0.1.2-py3-none-any.whl

Download URL how_long-0.1.2-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47ad25f5074ddc5a67a216fa7e4bc236b8971bdb387dea54f4cd50f42dc09f20
BLAKE2b-256 checksum
How to use checksums
e104387d288797aea1645a6c02ec8f09fb3bb3597d6c2a872c4272a8714a3bdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.6 Linux/5.9.3-1-MANJARO

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page