Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Relative is better than absolute. If you have a benchmark like this:

    for(i=0; i<100; i++){ do something }
Then it could just as well have been this:

    for(i=0; i<10000; i++){ do something }
This change makes that benchmark 100x more important relative to the other benchmarks.

IOW, the relative importance of benchmarks in an average is arbitrary. If you measure speedups you give every benchmark the same weight.

The "average" he uses, the geometric mean, doesn't have the problem you describe. The geometric mean of a 99% slowdown and a 100% speedup is computed as sqrt(1/100 * 2) ~= 0.141421356. This means that the "average" slowdown is 1/0.141421356 ~= 7.07x.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: