Latest recipes by Timothee Cezard http://code.activestate.com/recipes/users/4174785/new/2010-08-27T09:26:48-07:00ActiveState Code RecipesA simple function benchmarking module (Python)
2010-08-27T09:26:48-07:00Timothee Cezardhttp://code.activestate.com/recipes/users/4174785/http://code.activestate.com/recipes/577377-a-simple-function-benchmarking-module/
<p style="color: grey">
Python
recipe 577377
by <a href="/recipes/users/4174785/">Timothee Cezard</a>
(<a href="/recipes/tags/benchmark/">benchmark</a>, <a href="/recipes/tags/debugging/">debugging</a>, <a href="/recipes/tags/function/">function</a>).
</p>
<p>This module enable its user to monitor the amount of time spend in between two commands start and stop.
The module is fairly imprecise if the monitored task is quick as the start and stop commands are fairly slow (2e-07 - 5e-07 second)</p>