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-ttictocOrigin
devel/py-ttictoc
Size
31.7KiB
License
MIT
Maintainer
gmm@tutanota.com
Dependencies
4 packages
Required by
0 packages