FreeBSD.software
Home/devel/py311-ttictoc

py311-ttictoc

0.5.6_2devel

Time execution of blocks of code

Time execution of blocks of code. Tested against python 3.6+, but should work with other versions. The easiest way to time something is with tic and toc: import time from ttictoc import tic,toc tic() time.sleep(1) elapsed = toc() print('Elapsed time:',elapsed)

$pkg install py311-ttictoc
github.com/hector-sab/ttictoc
Origin
devel/py-ttictoc
Size
31.7KiB
License
MIT
Maintainer
gmm@tutanota.com
Dependencies
4 packages
Required by
0 packages

Dependencies (4)