This is just a curiosity – I don’t have a real question.
The output of AbsoluteTiming has a definite pattern; can anyone confirm/explain ?
xxx = RandomReal[NormalDistribution[0, 1], 10^6];
Sin[#] & /@ xxx; // AbsoluteTiming
(* {0.0890089, Null} *)
Max[Exp[#] - 0.5, 0] & /@ xxx; // AbsoluteTiming
(* {0.1560156, Null} *)
$Version
8.0 for Microsoft Windows (64-bit) (February 23, 2011)
According to the Documentation, “
AbsoluteTimingis always accurate down to a granularity of$TimeUnitseconds, but on many systems is much more accurate.” So evaluating$TimeUnitprobably can elucidate this issue.