A lightweight function profiler for execution time measurement.
Project description
TimeSpy ⏱
A lightweight function profiler to measure execution time.
Installation
pip install timespy
Usage
from timespy import profile
@profile
def my_function():
import time
time.sleep(1)
my_function()
print(f"Execution time: {my_function.exec_time:.6f}s")
License
TimeSpy is licensed under the GNU General Public License v3 (GPLv3). See LICENSE for more details.
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
timespy-0.1.0.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 timespy-0.1.0.tar.gz.
File metadata
- Download URL: timespy-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bdfd2226b6d1c14213e1965e9225ce33365be921b82e593cc43a63543b68172
|
|
| MD5 |
b0f4d9866e3087db241334cf991b53cc
|
|
| BLAKE2b-256 |
6507e1935ecb7c4b787f20fed6bc6181d7923c2ab0447bf7a2250d72ae6cc0a5
|
File details
Details for the file timespy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: timespy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87f164cbc6ec4012fb3095c4801dd3e55c17e2b65c04b8ae772b6f85b0294302
|
|
| MD5 |
e0e7bb5938980ca6fe091c62a3c604b6
|
|
| BLAKE2b-256 |
1d84fcdd8ba992127ef88018a154efb48add68a863c9cad6f32c9c7bb6804a1b
|