SimpleCodeTimer !/n /n 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 description
UNKNOWN
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.tar.gz
(946 Bytes
view hashes)