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 !
Release files for codetimer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codetimer-0.1.0.tar.gz | 1.0 kB | Details |
Release files / codetimer-0.1.0.tar.gz
| Download URL | codetimer-0.1.0.tar.gz |
|---|---|
| Size | 1.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cf3fcc7ffe38670d70d38704197b8a47d52e4dcbb3fa506cc1b7de90b00056a
|
|
BLAKE2b-256 checksum How to use checksums |
c32cc7704f56fa81b7c2894626f7416c3959cbcb6f4d1275d534b097dc650c90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |