Measure time of excec
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.2.tar.gz
(2.1 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.2.tar.gz.
File metadata
- Download URL: elapsed_time-0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d2a6b82342e5dc95ad7454e00ef4877b1cc282c82981a4273adab0d0bfaf54f
|
|
| MD5 |
33b9eb0e6dad8efac46d9f1ff631331f
|
|
| BLAKE2b-256 |
024ffa6df530b9b1a162015b1521f1dfddef7645495141a92cfba709f47de2b4
|
File details
Details for the file elapsed_time-0.2-py3-none-any.whl.
File metadata
- Download URL: elapsed_time-0.2-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 |
3f7b27f9f3c11e84e0e58e6c5a8a880f3aa7c7384347c19de8d3387c8b78ee3a
|
|
| MD5 |
4caf4c5c3d5a563a81389efdac6c63bd
|
|
| BLAKE2b-256 |
8d0fd7cba55f557dcf547b99f5fe1550c57cbc0598d76392cd0919141746b019
|