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.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

easy_tic_toc-0.0.1-py3-none-any.whl (1.8 kB view hashes)

Uploaded py3

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