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

If you're not sure about the file name format, learn more about wheel file names.

easy_tictoc-0.0.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

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

Hashes for easy_tictoc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2070b1baa97993404211dd0c3211426123da44820b1c35c0509787cddbddb80d
MD5 92e0e9823cda4508b9f6de5a0d7b7e81
BLAKE2b-256 c80eff6b70b707c121387b14f853f3edc54db5f8f0c4d67df04340ea7f8db59f

See more details on using hashes here.

Supported by

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