Skip to main content

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


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 details)

Uploaded Python 3

File details

Details for the file easy_tic_toc-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: easy_tic_toc-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

Hashes for easy_tic_toc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f20ff4b2ee7c60b704890a5167c291c89336165860aa5846403085443b85b3a1
MD5 878e714f04dffe0f10703204b15d0a9a
BLAKE2b-256 f206b73b2a46fdbe381c71f774f2590f90c50535ecf78aa4417f05e41b3b9250

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page