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 !
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
Release history Release notifications | RSS feed
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)