Skip to main content

simple code timer

Project description

SimpleCodeTimer !

Before :
=================== CODE ====================
def say(what):
print "say : %s" % what

say("ho!!")

=================== OUTPUT ==================
say : ho!!

After :

=================== CODE ====================
import codetimer
@codetimer.methodTimer
def say(what):
print "say : %s" % what

say("ho!!")

=================== OUTPUT ===================
say : ho!!
SimpleCodeTimer : say method costs 0.000028 seconds !

Project details


Download files

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

Source Distribution

codetimer-0.1.0.tar.gz (1.0 kB view hashes)

Uploaded Source

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