30.08.2010, 12:10
New version released, now much much faster.
Speed test done on a Dual Core AMD running @ 3.0Ghz with 800MHz frontside bus.
[EDIT] New version on first post...
Speed test done on a Dual Core AMD running @ 3.0Ghz with 800MHz frontside bus.
Код:
[13:21:59] random -> Average time per call : 102 ns -> Total execution time : 51 ms -> Calls per second : 9803922 calls [13:21:59] random -> Average time per call : 102 ns -> Total execution time : 51 ms -> Calls per second : 9803922 calls [13:21:59] MRandom -> Average time per call : 100 ns -> Total execution time : 50 ms -> Calls per second : 10000000 calls [13:21:59] MRandom -> Average time per call : 96 ns -> Total execution time : 48 ms -> Calls per second : 10416667 calls [13:21:59] random -> Average time per call : 104 ns -> Total execution time : 52 ms -> Calls per second : 9615385 calls [13:21:59] random -> Average time per call : 102 ns -> Total execution time : 51 ms -> Calls per second : 9803922 calls [13:22:00] MRandom -> Average time per call : 98 ns -> Total execution time : 49 ms -> Calls per second : 10204082 calls [13:22:00] MRandom -> Average time per call : 96 ns -> Total execution time : 48 ms -> Calls per second : 10416667 calls [05:17:50] random -> Average time per call : 112 ns -> Total execution time : 56 ms -> Calls per second : 8928571 calls [05:17:50] random -> Average time per call : 122 ns -> Total execution time : 61 ms -> Calls per second : 8196721 calls [05:17:50] MRandom -> Average time per call : 100 ns -> Total execution time : 50 ms -> Calls per second : 10000000 calls [05:17:50] MRandom -> Average time per call : 108 ns -> Total execution time : 54 ms -> Calls per second : 9259259 calls [05:17:50] random -> Average time per call : 112 ns -> Total execution time : 56 ms -> Calls per second : 8928571 calls [05:17:50] random -> Average time per call : 106 ns -> Total execution time : 53 ms -> Calls per second : 9433962 calls [05:17:50] MRandom -> Average time per call : 98 ns -> Total execution time : 49 ms -> Calls per second : 10204082 calls [05:17:50] MRandom -> Average time per call : 100 ns -> Total execution time : 50 ms -> Calls per second : 10000000 calls [06:48:44] random -> Average time per call : 104 ns -> Total execution time : 52 ms -> Calls per second : 9615385 calls [06:48:44] random -> Average time per call : 108 ns -> Total execution time : 54 ms -> Calls per second : 9259259 calls [06:48:44] MRandom -> Average time per call : 100 ns -> Total execution time : 50 ms -> Calls per second : 10000000 calls [06:48:44] MRandom -> Average time per call : 98 ns -> Total execution time : 49 ms -> Calls per second : 10204082 calls [06:48:44] random -> Average time per call : 106 ns -> Total execution time : 53 ms -> Calls per second : 9433962 calls [06:48:44] random -> Average time per call : 106 ns -> Total execution time : 53 ms -> Calls per second : 9433962 calls [06:48:45] MRandom -> Average time per call : 98 ns -> Total execution time : 49 ms -> Calls per second : 10204082 calls [06:48:45] MRandom -> Average time per call : 102 ns -> Total execution time : 51 ms -> Calls per second : 9803922 calls