Running tests on browser v on .
Calculations of n random values, taking average of median 50% results.
Measured using JavaScript Performance interface. Timings will vary according to machine load and other factors.