simple code timer
Project description
SimpleCodeTimer !<br>
<br/>
Before :/n
=================== CODE ====================/n
def say(what):/n
print "say : %s" % what/n
/n
say("ho!!")/n
/n
=================== OUTPUT ===================/n
say : ho!!/n
/n
After :/n
/n
=================== CODE ====================/n
import codetimer/n
@codetimer.methodTimer/n
def say(what):/n
print "say : %s" % what/n
/n
say("ho!!")/n
/n
=================== OUTPUT ===================/n
say : ho!!/n
SimpleCodeTimer : say method costs 0.000028 seconds !/n
<br/>
Before :/n
=================== CODE ====================/n
def say(what):/n
print "say : %s" % what/n
/n
say("ho!!")/n
/n
=================== OUTPUT ===================/n
say : ho!!/n
/n
After :/n
/n
=================== CODE ====================/n
import codetimer/n
@codetimer.methodTimer/n
def say(what):/n
print "say : %s" % what/n
/n
say("ho!!")/n
/n
=================== OUTPUT ===================/n
say : ho!!/n
SimpleCodeTimer : say method costs 0.000028 seconds !/n
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.0.0.3.tar.gz
(1.0 kB
view hashes)