On Mon, 10 Sep 2012 01:45:36 +0000 (UTC),
wrote, quoted or indirectly quoted
someone who said :
>~
> Well, if I understand you, you will have to read in the file you are
>checksumming anyway, right?
You want in both cases to read it into RAM, then start your clock,
then do your computation, then stop your clock, so that you measuring
the difference in computation, not i/o.
JVMs take a while to get warmed up. When doing benchmarks you want to
run a few laps before you turn on the clock.
--
Roedy Green Canadian Mind Products
http://mindprod.com
The iPhone 5 is a low end Rolex.