Skip to main content

The easiest way to calculate the execution time of any part of the program in Python

Project description



from tictoc import tic, toc


<some codes>

toc()       # to show the execution time directly with built-in print function



<some codes 2>

execution_time = toc(False) # do not show, but return as a variable


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for easy-tic-toc, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size easy_tic_toc-0.0.1-py3-none-any.whl (1.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page