-
Notifications
You must be signed in to change notification settings - Fork 0
License
minmax/python-speedometer
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
USAGE:
>>>from speedometer import *
>>>speedometer = Speedometer(
>>> MetricComposite(time=TimeMetric(), count=CountMetric())
>>>)
>>>speedometer.patch_object(obj, 'method')
>>>obj.method()
>>>stats = speedometer.pop_stats()
>>>print stats.count, stats.time
1 0.001
TIPS:
For run tests on python < 2.7, you should install unittest2.
And use nose.
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published