Hacker News new | ask | show | jobs
by malkia 4957 days ago
Sorting 5 million random numbers takes ~20secs - and this is the fastest benchmark?

Wait there buddy.... First of all, why would OS choice be of so much significance here, after all this is all executed mainly on the CPU (not much IO). The only difference would be that the random() function might return different things on different systems (libc difference?)... or maybe not (I'm not familiar with ruby's internals).

So I'm not sure what this measures at all...

At least you can run the benchmark shootout (CPU), or something that can test the I/O.