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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
longhow-0.1.0.tar.gz
(1.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file longhow-0.1.0.tar.gz.
File metadata
- Download URL: longhow-0.1.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Linux/5.0.0-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ef224f866c0333923fded6b192d413ea84e290b0573e9cd76cf121a5a27e71
|
|
| MD5 |
5dc3f88fed284a9dbe7b8f1b3c4e534c
|
|
| BLAKE2b-256 |
c4805dfa71e698177f80bff8879a03c7caeb873edda481ddbee63e26899da266
|
File details
Details for the file longhow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: longhow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Linux/5.0.0-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a90e2dbfbfad2005e240000ff1062f83b51de73e631ffa57d561988b722a3eeb
|
|
| MD5 |
7bf82f049341769744d844d345f3840c
|
|
| BLAKE2b-256 |
954b97d780ec3af6169490adf8970ce66fa3d8b96498a0262a857388c55d6101
|