Tue Oct 19 17:33:54 2021 wtime_test() Python version: 3.6.9 Test the Python facility for computing wall clock time. wtime_test01() Python version: 3.6.9 Time the RANDOM_SAMPLE function using time(): x = numpy.random.random_sample ( ( n, 1 ) ); 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.000025 0.000013 0.000011 0.000012 0.000012 2048 0.000022 0.000022 0.000022 0.000022 0.000022 4096 0.000042 0.000050 0.000042 0.000042 0.000042 8192 0.000094 0.000082 0.000082 0.000082 0.000082 16384 0.000208 0.000200 0.000162 0.000163 0.000162 32768 0.000349 0.000425 0.000333 0.000332 0.000334 65536 0.000714 0.000867 0.000825 0.000793 0.000802 131072 0.001682 0.001653 0.001673 0.001636 0.001329 262144 0.003447 0.003365 0.003322 0.003259 0.002681 524288 0.006456 0.006294 0.006219 0.006115 0.003535 1048576 0.007491 0.007151 0.007179 0.007081 0.005961 2097152 0.014211 0.013879 0.013636 0.014544 0.011979 4194304 0.027258 0.027162 0.027403 0.027112 0.026905 wtime_test01(): Normal end of execution. wtime_test02(): Python version: 3.6.9 Time the RANDOM_SAMPLE function using clock(): x = numpy.random.random_sample ( ( n, 1 ) ); 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.000024 0.000008 0.000007 0.000007 0.000007 2048 0.000013 0.000013 0.000012 0.000012 0.000013 4096 0.000024 0.000024 0.000024 0.000023 0.000023 8192 0.000046 0.000046 0.000053 0.000045 0.000046 16384 0.000113 0.000115 0.000091 0.000090 0.000090 32768 0.000194 0.000228 0.000178 0.000179 0.000179 65536 0.000381 0.000452 0.000356 0.000421 0.000363 131072 0.000785 0.000948 0.000725 0.000725 0.000726 262144 0.001596 0.001909 0.001471 0.001483 0.001486 524288 0.003202 0.003616 0.002952 0.002953 0.002895 1048576 0.006228 0.006902 0.005871 0.005812 0.005855 2097152 0.012295 0.013558 0.011943 0.011624 0.011597 4194304 0.027696 0.026991 0.027013 0.027010 0.027022 wtime_test02(): Normal end of execution. wtime_test(): Normal end of execution. Tue Oct 19 17:33:54 2021