Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

This version

0.0.1

Download files

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

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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page