Mon Jan 1 19:01:33 2024 timer_test() Python version: 3.8.10 Test timers. perf_counter_test() Python version: 3.8.10 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.000045 0.000016 0.000007 0.000007 0.000007 2048 0.000017 0.000020 0.000013 0.000012 0.000012 4096 0.000027 0.000044 0.000022 0.000022 0.000023 8192 0.000051 0.000096 0.000042 0.000042 0.000042 16384 0.000103 0.000157 0.000083 0.000083 0.000086 32768 0.000214 0.000327 0.000165 0.000169 0.000170 65536 0.000397 0.000728 0.000607 0.000528 0.000541 131072 0.001317 0.001208 0.001152 0.001094 0.000651 262144 0.002689 0.002406 0.002392 0.002204 0.001298 524288 0.004786 0.004218 0.004806 0.003843 0.002594 1048576 0.008087 0.006104 0.006706 0.006030 0.004537 2097152 0.012305 0.011941 0.012394 0.011858 0.009084 4194304 0.023971 0.023487 0.023463 0.023430 0.023437 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.000010 0.000006 0.000006 0.000005 0.000005 2048 0.000010 0.000010 0.000010 0.000010 0.000010 4096 0.000019 0.000019 0.000019 0.000019 0.000019 8192 0.000036 0.000052 0.000037 0.000036 0.000036 16384 0.000085 0.000123 0.000072 0.000072 0.000072 32768 0.000166 0.000239 0.000143 0.000142 0.000142 65536 0.000357 0.000474 0.000284 0.000284 0.000283 131072 0.000665 0.000943 0.000570 0.000573 0.000570 262144 0.001339 0.001966 0.001137 0.001142 0.001132 524288 0.002775 0.003693 0.002284 0.002274 0.002275 1048576 0.005522 0.006167 0.004540 0.004552 0.004537 2097152 0.010208 0.011909 0.009104 0.009086 0.009048 4194304 0.024380 0.023491 0.023466 0.023429 0.023460 timer_test(): Normal end of execution. Mon Jan 1 19:01:34 2024