########################################## # OSX before ASET optimizations ########################################## test_array_methods user system total real 1M << 0.290000 0.010000 0.300000 ( 0.300562) 1M [] 0.310000 0.000000 0.310000 ( 0.302214) .... test_read_from_open_file user system total real 1kx read from file 0.040000 0.200000 0.240000 ( 0.519244) 1kx file.read 0.140000 0.250000 0.390000 ( 0.395224) . test_read_in_chunk_vs_read_in_pieces user system total real 1kx read in chunk 0.220000 0.160000 0.380000 ( 0.515190) 1kx read in pieces 0.620000 0.110000 0.730000 ( 0.728748) 1kx read in one block 0.050000 0.110000 0.160000 ( 0.160819) 1kx read in blocks 0.390000 0.110000 0.500000 ( 0.495172) 1kx File.read 0.160000 0.270000 0.430000 ( 0.438735) . test_read_into_arrays user system total real 100x unpack to array 0.310000 0.030000 0.340000 ( 0.346243) 100x File.read.unpack 0.940000 0.060000 1.000000 ( 1.022879) ... test_unpack_speed user system total real 100x unpack 0.300000 0.000000 0.300000 ( 0.313970) 100x str.unpack 0.930000 0.020000 0.950000 ( 0.960535) ............................ test_element_assignment_speed_for_index user system total real I 1kx [index]= 0.010000 0.000000 0.010000 ( 0.011112) 1kx [range]= 0.020000 0.000000 0.020000 ( 0.014436) 1kx [s,1]= 0.000000 0.000000 0.000000 ( 0.007936) IIIIIIIIII 1kx [index]= 0.010000 0.000000 0.010000 ( 0.012760) 1kx [range]= 0.020000 0.000000 0.020000 ( 0.014060) 1kx [s,1]= 0.000000 0.000000 0.000000 ( 0.007683) array reference 1kx [index]= 0.000000 0.000000 0.000000 ( 0.000359) 1kx [range]= 0.010000 0.000000 0.010000 ( 0.001003) 1kx [s,1]= 0.000000 0.000000 0.000000 ( 0.000532) . test_element_reference_speed_for_index user system total real I 100kx [index] 0.170000 0.000000 0.170000 ( 0.170148) 100kx [range] 0.200000 0.000000 0.200000 ( 0.207506) 100kx [s,1] 0.210000 0.000000 0.210000 ( 0.206175) 100kx [s,10] 0.190000 0.000000 0.190000 ( 0.196211) 100kx [s,100] 0.210000 0.000000 0.210000 ( 0.207395) IIIIIIIIII 100kx [index] 0.170000 0.000000 0.170000 ( 0.171383) 100kx [range] 0.220000 0.000000 0.220000 ( 0.218904) 100kx [s,1] 0.220000 0.000000 0.220000 ( 0.217726) 100kx [s,10] 0.220000 0.000000 0.220000 ( 0.227541) 100kx [s,100] 0.230000 0.010000 0.240000 ( 0.239500) array reference 100kx [index] 0.030000 0.000000 0.030000 ( 0.026727) 100kx [range] 0.060000 0.000000 0.060000 ( 0.062518) 100kx [s,1] 0.040000 0.000000 0.040000 ( 0.043396) 100kx [s,10] 0.040000 0.000000 0.040000 ( 0.043224) 100kx [s,100] 0.040000 0.000000 0.040000 ( 0.043834) ................................................................ test_element_assignment_speed_for_ext_arr user system total real 1kx [index]= 0.120000 0.010000 0.130000 ( 0.120187) 1kx [range]= 0.080000 0.000000 0.080000 ( 0.082323) 1kx [s,1]= 0.110000 0.010000 0.120000 ( 0.117434) array reference 1kx [index]= 0.110000 0.000000 0.110000 ( 0.118859) 1kx [range]= 0.080000 0.010000 0.090000 ( 0.082343) 1kx [s,1]= 0.110000 0.010000 0.120000 ( 0.116168) . test_element_reference_speed_for_ext_arr user system total real 10kx [index] 0.320000 0.130000 0.450000 ( 0.445001) 10kx [range] 0.450000 0.110000 0.560000 ( 0.567785) 10kx [s,1] 0.310000 0.070000 0.380000 ( 0.391895) 10kx [s,10] 2.490000 0.150000 2.640000 ( 2.669212) array reference 10kx [index] 0.000000 0.000000 0.000000 ( 0.002583) 10kx [range] 0.010000 0.000000 0.010000 ( 0.004749) 10kx [s,1] 0.000000 0.000000 0.000000 ( 0.006787) 10kx [s,10] 0.000000 0.000000 0.000000 ( 0.003268) .................................... test_element_assignment_speed_for_index user system total real I 1kx [index]= 0.020000 0.010000 0.030000 ( 0.026291) 1kx [range]= 5.400000 1.410000 6.810000 ( 8.220439) 1kx [s,1]= 5.620000 1.410000 7.030000 ( 8.293661) IIIIIIIIII 1kx [index]= 0.020000 0.010000 0.030000 ( 0.029998) 1kx [range]= 5.880000 1.480000 7.360000 ( 8.588676) 1kx [s,1]= 5.580000 1.470000 7.050000 ( 8.308494) array reference 1kx [index]= 0.000000 0.000000 0.000000 ( 0.000329) 1kx [range]= 0.000000 0.000000 0.000000 ( 0.000700) 1kx [s,1]= 0.000000 0.000000 0.000000 ( 0.000570) . test_element_reference_speed_for_index user system total real I 100kx [index] 1.950000 0.640000 2.590000 ( 2.598391) 100kx [range] 3.130000 0.650000 3.780000 ( 3.786401) 100kx [s,1] 2.390000 0.640000 3.030000 ( 3.029791) 100kx [s,10] 3.410000 0.650000 4.060000 ( 4.059696) 100kx [s,100] 11.250000 0.670000 11.920000 ( 11.970536) IIIIIIIIII 100kx [index] 1.610000 0.360000 1.970000 ( 1.972972) 100kx [range] 1.070000 0.010000 1.080000 ( 1.080418) 100kx [s,1] 0.380000 0.000000 0.380000 ( 0.382648) 100kx [s,10] 0.380000 0.000000 0.380000 ( 0.383150) 100kx [s,100] 0.440000 0.000000 0.440000 ( 0.439358) array reference 100kx [index] 0.020000 0.000000 0.020000 ( 0.026210) 100kx [range] 0.050000 0.000000 0.050000 ( 0.050129) 100kx [s,1] 0.040000 0.000000 0.040000 ( 0.033032) 100kx [s,10] 0.050000 0.000000 0.050000 ( 0.055461) 100kx [s,100] 0.040000 0.000000 0.040000 ( 0.032775) .........................................................................p. .. Finished in 82.428089 seconds. 216 tests, 5189 assertions, 0 failures, 0 errors