Skip to content

minmax/python-speedometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages