So what is the best way to show the speed comparison in terms of it's time and not iteration/time?I'm not sure what you mean by this. Would timethese with a positive value mean more to you? You could run the benchmark for, say, 2000 iterations instead of for 5 seconds. You'd probably see that "list" will run for about 7 seconds, while "enum" will take about 20 seconds.
In reply to Re^3: Interpreting Benchmark 'cmpthese' and 'timethese'
by rhesa
in thread Interpreting Benchmark's "cmpthese" and "timethese"
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |