Tue May 20 22:54:10 2025 wtime_test(): python version: 3.10.12 numpy version: 1.26.4 Test Python functions for computing wall clock time. wtime_test01(): Time rng.random() function using time(): x = rng.random ( size = n ); Data vectors will be of minimum size 1024 Data vectors will be of maximum size 4194304 Number of repetitions of the operation: 5 Timing results in seconds: Size Rep #1 Rep #2 Rep #3 Rep #4 Rep #5 1024 0.000028 0.000015 0.000007 0.000007 0.000007 2048 0.000015 0.000018 0.000012 0.000011 0.000012 4096 0.000025 0.000035 0.000022 0.000022 0.000022 8192 0.000047 0.000071 0.000042 0.000041 0.000041 16384 0.000096 0.000131 0.000081 0.000085 0.000082 32768 0.000187 0.000259 0.000161 0.000161 0.000164 65536 0.000370 0.000626 0.000555 0.000513 0.000508 131072 0.001117 0.001093 0.001048 0.001014 0.000639 262144 0.002254 0.002194 0.002131 0.002025 0.001273 524288 0.003389 0.003632 0.003677 0.003495 0.002562 1048576 0.006410 0.006634 0.006331 0.004353 0.003194 2097152 0.008558 0.008392 0.008962 0.008201 0.006427 4194304 0.016097 0.016392 0.016233 0.016411 0.016258 wtime_test02(): Time rng.random() using perf_counter(): x = rng.random ( size = n ) Data vectors will be of minimum size 1024 Data vectors will be of maximum size 4194304 Number of repetitions of the operation: 5 Timing results in seconds: Size Rep #1 Rep #2 Rep #3 Rep #4 Rep #5 1024 0.000018 0.000005 0.000004 0.000004 0.000004 2048 0.000007 0.000007 0.000007 0.000007 0.000007 4096 0.000013 0.000013 0.000013 0.000013 0.000013 8192 0.000025 0.000046 0.000025 0.000025 0.000025 16384 0.000059 0.000091 0.000069 0.000062 0.000049 32768 0.000112 0.000158 0.000096 0.000096 0.000096 65536 0.000222 0.000353 0.000193 0.000194 0.000194 131072 0.000482 0.000666 0.000386 0.000385 0.000420 262144 0.000900 0.001262 0.000774 0.000769 0.000771 524288 0.001896 0.002400 0.001619 0.001614 0.001576 1048576 0.003824 0.004383 0.003102 0.003210 0.003188 2097152 0.007003 0.008424 0.006261 0.006340 0.006159 4194304 0.016848 0.016389 0.016346 0.016218 0.016334 wtime_test(): Normal end of execution. Tue May 20 22:54:10 2025