Cumulative measurement of execution time
Project description
Cumtime
import cumtime
cumtime.register('cum')
with c('t1'):
time.sleep(0.01)
cum.begin('t1')
time.sleep(0.01)
cum.end()
print(cum)
# t1: sum:0.02 n:2 ave:0.01'
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
cumtime-0.3.0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file cumtime-0.3.0.tar.gz
.
File metadata
- Download URL: cumtime-0.3.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 619512a60c6e8eaed4dd47c7447c72bf2f9e7653fe6093273b0a9999f38d52f3 |
|
MD5 | 9c3a9ec927cf2f09fca57f0be2db4cde |
|
BLAKE2b-256 | 6aed71f583c6bec0e30fc06642415ed2ee657be4376936d778ea6dcce7711166 |
File details
Details for the file cumtime-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: cumtime-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0554de4c3ef54318c5e1e048a4315016a2b7cdec3637817771b8959495b712d1 |
|
MD5 | 56092ac214592b7cb9d1112f28d2e8f5 |
|
BLAKE2b-256 | b4f16aa3c18f1d226cf436516aa81c16ac954cebc2d9c5daebeeb815781a878d |