The easiest way to calculate the execution time of any part of the program in Python
Project description
Usage
"""python
from tictoc import tic, toc
tic()
<some codes>
toc() # to show the execution time directly with built-in print function
#-----------------------------------------#
tic()
<some codes 2>
execution_time = toc(False) # do not show, but return as a variable
"""
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file easy_tictoc-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: easy_tictoc-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2070b1baa97993404211dd0c3211426123da44820b1c35c0509787cddbddb80d |
|
MD5 | 92e0e9823cda4508b9f6de5a0d7b7e81 |
|
BLAKE2b-256 | c80eff6b70b707c121387b14f853f3edc54db5f8f0c4d67df04340ea7f8db59f |