Next | Making Programs Faster | 112 |
Results: Benchmark: timing 10000000 iterations of CODE A, CODE B, CODE C, CODE D... CODE A: 39 wallclock secs (38.50 usr + 0.00 sys = 38.50 CPU) @ 259740.26/s (n=10000000) CODE B: 42 wallclock secs (42.57 usr + 0.00 sys = 42.57 CPU) @ 234907.21/s (n=10000000) CODE C: 93 wallclock secs (91.94 usr + 0.00 sys = 91.94 CPU) @ 108766.59/s (n=10000000) CODE D: 43 wallclock secs (42.13 usr + 0.00 sys = 42.13 CPU) @ 237360.55/s (n=10000000)
Does anyone see anything strange here?
(The 0.00 system time is not an anomaly)
(This benchmark was run on a Windows system)
Next | Copyright © 2003 M. J. Dominus |