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)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f1b5c4029e99cfbe90ed7fb85aa45148053dc879228ee58fb91f101981cac49
|
|
| MD5 |
ad00df39bd7b8c11d00757bc91c35998
|
|
| BLAKE2b-256 |
1862a3a90b12ddf5c03360dfcf27978c9b78b1aecd271860800bb19902c50baa
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
386341b3cdf778718a70b59a0550e55c2c9ecf6377eb3d096037cf8fe2b18a30
|
|
| MD5 |
2e1a9c75a0e3dcb736772570ff85dc46
|
|
| BLAKE2b-256 |
a224ee40fb07faa45d53360515e154be53741dadb81cbe7bf5d4558c9e6cf6f5
|