|P is for Practical|
Re^6: Question on Regexby karlgoethebier (Parson)
|on Nov 19, 2012 at 20:24 UTC||Need Help??|
Hello, one important thing i learned in the short time i'm on PM is: there is no reason to be ashamed to ask something that i don't know or understand. So i must confess that i have a problem to interpret the output of Benchmark in the right way. I didn't use this module very much yet.
I know when i use cmpthese, the results are sorted from slow to fast. When i say $count = -10, my code runs for 10 wall clock seconds.
Then, in the rate column i can see the amount of iterations per second for each of the subs that i benchmarked - in our (first) case:
So i try:
You wrote:...Which shows that sub athanasius is up to 5 times faster than sub karlgoethebier. Perhaps i have a mental block at the moment or i miss something really essential, sorry.
Thanks for advice and regards, Karl
«The Crux of the Biscuit is the Apostrophe»