Tue May 20 22:43:02 2025 timer_test() python version: 3.10.12 numpy version: 1.26.4 Test timers. perf_counter_test() perf_counter() times the rng.random function: 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.000027 0.000013 0.000007 0.000007 0.000007 2048 0.000015 0.000018 0.000012 0.000012 0.000012 4096 0.000025 0.000035 0.000022 0.000022 0.000026 8192 0.000049 0.000071 0.000042 0.000042 0.000042 16384 0.000094 0.000133 0.000082 0.000081 0.000081 32768 0.000186 0.000267 0.000161 0.000161 0.000161 65536 0.000373 0.000584 0.000581 0.000502 0.000510 131072 0.001119 0.001091 0.001048 0.001011 0.000638 262144 0.002263 0.002184 0.002130 0.002033 0.001270 524288 0.003282 0.003705 0.003831 0.003515 0.002540 1048576 0.006360 0.006597 0.006261 0.004243 0.003137 2097152 0.008279 0.008192 0.008592 0.008342 0.006236 4194304 0.016266 0.016316 0.016176 0.016292 0.016076 time_test(): time() times the rng.random() function: 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.000017 0.000004 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.000033 0.000064 0.000039 0.000025 0.000025 16384 0.000058 0.000082 0.000049 0.000049 0.000049 32768 0.000114 0.000160 0.000098 0.000097 0.000123 65536 0.000255 0.000317 0.000193 0.000215 0.000207 131072 0.000448 0.000664 0.000386 0.000421 0.000386 262144 0.000934 0.001294 0.000806 0.000803 0.000772 524288 0.001855 0.002354 0.001639 0.001610 0.001630 1048576 0.003821 0.004513 0.003138 0.003083 0.003090 2097152 0.006863 0.008296 0.006289 0.006193 0.006160 4194304 0.016886 0.016399 0.016214 0.016179 0.016336 timer_test(): Normal end of execution. Tue May 20 22:43:02 2025