On 05/16/2013 01:46 PM, Nick Sabalausky wrote: > On Thu, 16 May 2013 09:03:36 -0500 > 1100110 <[email protected]> wrote: > >>> May I also recommend my tool "avgtime" to make simple benchmarks, >>> instead of "time" (you can see an ascii histogram as the output): >>> >>> https://github.com/jmcabo/avgtime/tree/ >>> >>> For example: >>> >>> $ avgtime -r10 -h -q ls >>> ------------------------ >>> Total time (ms): 27.413 >>> Repetitions : 10 >>> Sample mode : 2.6 (4 ocurrences) >>> Median time : 2.6695 >>> Avg time : 2.7413 >>> Std dev. : 0.260515 >>> Minimum : 2.557 >>> Maximum : 3.505 >>> 95% conf.int. : [2.2307, 3.2519] e = 0.510599 >>> 99% conf.int. : [2.07026, 3.41234] e = 0.671041 >>> EstimatedAvg95%: [2.57983, 2.90277] e = 0.161466 >>> EstimatedAvg99%: [2.5291, 2.9535] e = 0.212202 >>> Histogram : >>> msecs: count normalized bar >>> 2.5: 2 #################### >>> 2.6: 4 ######################################## >>> 2.7: 3 ############################## >>> 3.5: 1 ########## >>> >>> --jm >>> >> >> Thank you for self-promotion, I miss that tool. >> >> > > Indeed. I had totally forgotten about that, and yet it *should* be the > first thing I think of when I think "timing a program". IMO, that > should be a standard tool in any unixy installation. > >
+1 That's worth creating a package for.
signature.asc
Description: OpenPGP digital signature
