Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save josiahcarlson/9a147d39cc492951faffb723149f7926 to your computer and use it in GitHub Desktop.
Save josiahcarlson/9a147d39cc492951faffb723149f7926 to your computer and use it in GitHub Desktop.
Running https://github.com/redis/redis/pull/11988 on Intel Xeon 2670 v0 @2.6ghz and i3 8130U @2.2ghz
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 4 in line 1.
$ time docker-compose run redis-server /usr/src/redis/src/redis-benchmark --crc 512000000 --csv --combine
algorithm,buffer,performance,crc64_matches
crc_1byte,512000000,413,1
crcspeed,512000000,1810,1
crcdual,512000000,3134,1
crctri,512000000,3528,1
crc_1byte,312000000,414,1
crcspeed,312000000,1811,1
crcdual,312000000,3065,1
crctri,312000000,3518,1
crc_1byte,190125000,414,1
crcspeed,190125000,1806,1
crcdual,190125000,3085,1
crctri,190125000,3515,1
crc_1byte,115857422,414,1
crcspeed,115857422,1809,1
crcdual,115857422,3087,1
crctri,115857422,3555,1
crc_1byte,70600618,414,1
crcspeed,70600618,1815,1
crcdual,70600618,3096,1
crctri,70600618,3509,1
crc_1byte,43022253,414,1
crcspeed,43022253,1821,1
crcdual,43022253,3096,1
crctri,43022253,3518,1
crc_1byte,26216687,414,1
crcspeed,26216687,1823,1
crcdual,26216687,3107,1
crctri,26216687,3532,1
crc_1byte,15975796,415,1
crcspeed,15975796,1828,1
crcdual,15975796,3111,1
crctri,15975796,3544,1
crc_1byte,9735252,416,1
crcspeed,9735252,1831,1
crcdual,9735252,3140,1
crctri,9735252,3562,1
crc_1byte,5932420,415,1
crcspeed,5932420,1841,1
crcdual,5932420,3148,1
crctri,5932420,3639,1
crc_1byte,3615069,417,1
crcspeed,3615069,1879,1
crcdual,3615069,3233,1
crctri,3615069,3722,1
crc_1byte,2202934,416,1
crcspeed,2202934,1888,1
crcdual,2202934,3260,1
crctri,2202934,3754,1
crc_1byte,1342415,416,1
crcspeed,1342415,1890,1
crcdual,1342415,3271,1
crctri,1342415,3755,1
crc_1byte,818036,416,1
crcspeed,818036,1890,1
crcdual,818036,3272,1
crctri,818036,3754,1
crc_1byte,498492,416,1
crcspeed,498492,1890,1
crcdual,498492,3275,1
crctri,498492,3752,1
crc_1byte,303770,416,1
crcspeed,303770,1890,1
crcdual,303770,3259,1
crctri,303770,3748,1
crc_1byte,185111,416,1
crcspeed,185111,1892,1
crcdual,185111,3288,1
crctri,185111,3749,1
crc_1byte,112804,416,1
crcspeed,112804,1891,1
crcdual,112804,3284,1
crctri,112804,3735,1
crc_1byte,68741,416,1
crcspeed,68741,1891,1
crcdual,68741,3285,1
crctri,68741,3730,1
crc_1byte,41890,416,1
crcspeed,41890,1891,1
crcdual,41890,3261,1
crctri,41890,3693,1
crc_1byte,25528,417,1
crcspeed,25528,1891,1
crcdual,25528,3235,1
crctri,25528,3669,1
crc_1byte,15557,417,1
crcspeed,15557,1890,1
crcdual,15557,3222,1
crctri,15557,3661,1
crc_1byte,9481,417,1
crcspeed,9481,1890,1
crcdual,9481,3228,1
crctri,9481,3520,1
crc_1byte,5778,417,1
crcspeed,5778,1887,1
crcdual,5778,3124,1
crctri,5778,3416,1
crc_1byte,3522,417,1
crcspeed,3522,1878,1
crcdual,3522,3033,1
crctri,3522,3307,1
crc_1byte,2147,417,1
crcspeed,2147,1865,1
crcdual,2147,2949,1
crctri,2147,2977,1
crc_1byte,1310,416,1
crcspeed,1310,1819,1
crcdual,1310,2781,1
crctri,1310,2588,1
crc_1byte,800,416,1
crcspeed,800,1830,1
crcdual,800,2597,1
crctri,800,2631,1
crc_1byte,488,414,1
crcspeed,488,1768,1
crcdual,488,2159,1
crctri,488,1975,1
crc_1byte,298,410,1
crcspeed,298,1702,1
crcdual,298,2027,1
crctri,298,1490,1
crc_1byte,183,406,1
crcspeed,183,1452,1
crcdual,183,1244,1
crctri,183,855,1
crc_1byte,114,398,1
crcspeed,114,1443,1
crcdual,114,1128,1
crctri,114,1200,1
crc_1byte,71,385,1
crcspeed,71,1059,1
crcdual,71,876,1
crctri,71,669,1
crc_1byte,45,371,1
crcspeed,45,918,1
crcdual,45,633,1
crctri,45,500,1
crc_1byte,29,349,1
crcspeed,29,725,1
crcdual,29,491,1
crctri,29,367,1
crc_1byte,19,311,1
crcspeed,19,612,1
crcdual,19,365,1
crctri,19,593,1
crc_1byte,13,295,1
crcspeed,13,419,1
crcdual,13,393,1
crctri,13,393,1
crc_1byte,9,257,1
crcspeed,9,428,1
crcdual,9,391,1
crctri,9,391,1
crc_1byte,6,222,1
crcspeed,6,214,1
crcdual,6,206,1
crctri,6,200,1
crc_1byte,5,200,1
crcspeed,5,192,1
crcdual,5,178,1
crctri,5,178,1
crc_1byte,4,181,1
crcspeed,4,166,1
crcdual,4,160,1
crctri,4,153,1
operation,size,nanoseconds
init_64,18446744073709551615,97212
hash_as_size_combine,10657844645475771605,34
largest_combine,18446744073709551615,15
combine,4,16
combine,5,16
combine,6,16
combine,7,16
combine,8,17
combine,11,16
combine,14,16
combine,18,17
combine,24,17
combine,33,17
combine,45,17
combine,61,18
combine,83,18
combine,114,18
combine,157,18
combine,217,18
combine,301,18
combine,417,18
combine,579,19
combine,804,18
combine,1117,19
combine,1552,19
combine,2158,19
combine,2999,19
combine,4168,19
combine,5796,19
combine,8059,19
combine,11205,20
combine,15581,19
combine,21666,20
combine,30128,20
combine,41896,19
combine,58261,20
combine,81018,21
combine,112664,21
combine,156673,21
combine,217873,20
combine,302979,21
combine,421329,21
combine,585910,21
combine,814779,21
combine,1133050,21
combine,1575646,22
combine,2191131,22
combine,3047040,22
combine,4237290,22
combine,5892480,22
combine,8194230,22
combine,11395099,23
combine,15846308,22
combine,22036271,22
combine,30644187,23
combine,42614571,23
combine,59260886,23
combine,82409668,23
combine,114600944,23
combine,159366937,23
combine,221619646,23
combine,308189818,24
combine,428576464,24
combine,595989145,25
combine,828797404,24
combine,1152546389,25
combine,1602759821,24
combine,2228837875,25
combine,3099477668,25
combine,4310211131,25
combine,5993887352,25
combine,8335249598,25
combine,11591206470,25
combine,16119021496,26
combine,22415514267,26
combine,31171574526,26
combine,43347970823,27
combine,60280771924,26
combine,83827948456,27
combine,116573240821,27
combine,162109663015,27
combine,225433750128,27
combine,313493808771,29
combine,435952327821,27
combine,606246205875,29
combine,843061130043,29
combine,1172381883964,28
combine,1630343557386,29
combine,2267196509489,30
combine,3152820146007,29
combine,4384390515539,29
combine,6097043060670,30
combine,8478700506242,29
combine,11790692891492,30
combine,16396432302230,30
combine,22801288670287,31
combine,31708042057116,30
combine,44093995985676,31
combine,61318213167580,32
combine,85270640186165,33
combine,118579484008884,33
combine,164899594949853,33
combine,229313499227138,33
combine,318889084862738,33
combine,443455133637244,33
combine,616679795214291,34
combine,857570340219872,34
combine,1192558754368259,35
combine,1658402017793359,35
combine,2306215305993888,35
combine,3207080659897750,36
combine,4459846542670307,35
combine,6201974098400894,36
combine,8624620230588741,36
combine,11993612508162467,37
combine,16678617394163429,35
combine,23193702313758517,38
combine,32253742280070436,37
combine,44852860358222949,37
combine,62373508935653787,38
combine,86738160863643546,38
combine,120620254951004305,38
combine,167737542041240361,39
combine,233260019401099876,39
combine,324377214479654514,40
combine,451087063885769557,40
combine,627292948216148289,40
combine,872329256113081214,40
combine,1213082871782253561,40
combine,1686943368572196357,40
combine,2345905621920710558,40
combine,3262275005483488118,41
combine,4536601179500475662,42
combine,6308711015242848966,41
combine,8773051255572086842,41
combine,12200024402279933263,41
real 4m16.096s
user 0m0.050s
sys 0m0.023s
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 4 in line 1.
$ time docker-compose run redis-server numactl -N 1 -l /usr/src/redis/src/redis-benchmark --crc 512000000 --csv --combine
algorithm,buffer,performance,crc64_matches
crc_1byte,512000000,400,1
crcspeed,512000000,1354,1
crcdual,512000000,2129,1
crctri,512000000,2243,1
crc_1byte,312000000,401,1
crcspeed,312000000,1352,1
crcdual,312000000,2090,1
crctri,312000000,2213,1
crc_1byte,190125000,401,1
crcspeed,190125000,1358,1
crcdual,190125000,2102,1
crctri,190125000,2243,1
crc_1byte,115857422,404,1
crcspeed,115857422,1361,1
crcdual,115857422,2102,1
crctri,115857422,2243,1
crc_1byte,70600618,404,1
crcspeed,70600618,1361,1
crcdual,70600618,2104,1
crctri,70600618,2245,1
crc_1byte,43022253,404,1
crcspeed,43022253,1365,1
crcdual,43022253,2105,1
crctri,43022253,2234,1
crc_1byte,26216687,405,1
crcspeed,26216687,1374,1
crcdual,26216687,2121,1
crctri,26216687,2269,1
crc_1byte,15975796,407,1
crcspeed,15975796,1397,1
crcdual,15975796,2175,1
crctri,15975796,2332,1
crc_1byte,9735252,407,1
crcspeed,9735252,1398,1
crcdual,9735252,2195,1
crctri,9735252,2351,1
crc_1byte,5932420,407,1
crcspeed,5932420,1409,1
crcdual,5932420,2195,1
crctri,5932420,2328,1
crc_1byte,3615069,407,1
crcspeed,3615069,1406,1
crcdual,3615069,2197,1
crctri,3615069,2366,1
crc_1byte,2202934,408,1
crcspeed,2202934,1413,1
crcdual,2202934,2195,1
crctri,2202934,2371,1
crc_1byte,1342415,408,1
crcspeed,1342415,1414,1
crcdual,1342415,2201,1
crctri,1342415,2372,1
crc_1byte,818036,408,1
crcspeed,818036,1415,1
crcdual,818036,2201,1
crctri,818036,2374,1
crc_1byte,498492,408,1
crcspeed,498492,1416,1
crcdual,498492,2201,1
crctri,498492,2373,1
crc_1byte,303770,408,1
crcspeed,303770,1416,1
crcdual,303770,2195,1
crctri,303770,2369,1
crc_1byte,185111,408,1
crcspeed,185111,1418,1
crcdual,185111,2207,1
crctri,185111,2350,1
crc_1byte,112804,408,1
crcspeed,112804,1419,1
crcdual,112804,2206,1
crctri,112804,2371,1
crc_1byte,68741,408,1
crcspeed,68741,1419,1
crcdual,68741,2206,1
crctri,68741,2340,1
crc_1byte,41890,408,1
crcspeed,41890,1419,1
crcdual,41890,2198,1
crctri,41890,2349,1
crc_1byte,25528,408,1
crcspeed,25528,1421,1
crcdual,25528,2184,1
crctri,25528,2334,1
crc_1byte,15557,408,1
crcspeed,15557,1418,1
crcdual,15557,2162,1
crctri,15557,2333,1
crc_1byte,9481,408,1
crcspeed,9481,1416,1
crcdual,9481,2165,1
crctri,9481,2261,1
crc_1byte,5778,407,1
crcspeed,5778,1412,1
crcdual,5778,2105,1
crctri,5778,2217,1
crc_1byte,3522,407,1
crcspeed,3522,1411,1
crcdual,3522,2042,1
crctri,3522,2172,1
crc_1byte,2147,407,1
crcspeed,2147,1406,1
crcdual,2147,2023,1
crctri,2147,1967,1
crc_1byte,1310,406,1
crcspeed,1310,1377,1
crcdual,1310,1901,1
crctri,1310,1760,1
crc_1byte,800,404,1
crcspeed,800,1353,1
crcdual,800,1785,1
crctri,800,1793,1
crc_1byte,488,402,1
crcspeed,488,1344,1
crcdual,488,1478,1
crctri,488,1569,1
crc_1byte,298,397,1
crcspeed,298,1216,1
crcdual,298,1324,1
crctri,298,1128,1
crc_1byte,183,355,1
crcspeed,183,1076,1
crcdual,183,933,1
crctri,183,693,1
crc_1byte,114,347,1
crcspeed,114,1055,1
crcdual,114,754,1
crctri,114,850,1
crc_1byte,71,333,1
crcspeed,71,825,1
crcdual,71,739,1
crctri,71,563,1
crc_1byte,45,314,1
crcspeed,45,714,1
crcdual,45,555,1
crctri,45,420,1
crc_1byte,29,305,1
crcspeed,29,591,1
crcdual,29,391,1
crctri,29,308,1
crc_1byte,19,279,1
crcspeed,19,527,1
crcdual,19,306,1
crctri,19,441,1
crc_1byte,13,254,1
crcspeed,13,361,1
crcdual,13,317,1
crctri,13,317,1
crc_1byte,9,209,1
crcspeed,9,321,1
crcdual,9,290,1
crctri,9,290,1
crc_1byte,6,187,1
crcspeed,6,181,1
crcdual,6,166,1
crctri,6,166,1
crc_1byte,5,161,1
crcspeed,5,161,1
crcdual,5,156,1
crctri,5,151,1
crc_1byte,4,137,1
crcspeed,4,137,1
crcdual,4,129,1
crctri,4,129,1
operation,size,nanoseconds
init_64,18446744073709551615,136340
hash_as_size_combine,10657844645475771605,50
largest_combine,18446744073709551615,18
combine,4,18
combine,5,19
combine,6,18
combine,7,18
combine,8,19
combine,11,22
combine,14,18
combine,18,18
combine,24,21
combine,33,22
combine,45,22
combine,61,22
combine,83,20
combine,114,20
combine,157,23
combine,217,23
combine,301,23
combine,417,24
combine,579,24
combine,804,24
combine,1117,23
combine,1552,23
combine,2158,23
combine,2999,23
combine,4168,24
combine,5796,24
combine,8059,24
combine,11205,25
combine,15581,25
combine,21666,25
combine,30128,25
combine,41896,26
combine,58261,25
combine,81018,26
combine,112664,26
combine,156673,26
combine,217873,26
combine,302979,28
combine,421329,27
combine,585910,28
combine,814779,28
combine,1133050,27
combine,1575646,29
combine,2191131,29
combine,3047040,30
combine,4237290,30
combine,5892480,29
combine,8194230,30
combine,11395099,31
combine,15846308,31
combine,22036271,31
combine,30644187,31
combine,42614571,31
combine,59260886,31
combine,82409668,32
combine,114600944,32
combine,159366937,33
combine,221619646,31
combine,308189818,33
combine,428576464,35
combine,595989145,31
combine,828797404,34
combine,1152546389,36
combine,1602759821,35
combine,2228837875,36
combine,3099477668,30
combine,4310211131,31
combine,5993887352,34
combine,8335249598,40
combine,11591206470,41
combine,16119021496,38
combine,22415514267,44
combine,31171574526,44
combine,43347970823,44
combine,60280771924,44
combine,83827948456,44
combine,116573240821,44
combine,162109663015,45
combine,225433750128,45
combine,313493808771,43
combine,435952327821,44
combine,606246205875,43
combine,843061130043,45
combine,1172381883964,43
combine,1630343557386,43
combine,2267196509489,43
combine,3152820146007,45
combine,4384390515539,47
combine,6097043060670,43
combine,8478700506242,43
combine,11790692891492,46
combine,16396432302230,44
combine,22801288670287,44
combine,31708042057116,44
combine,44093995985676,44
combine,61318213167580,44
combine,85270640186165,44
combine,118579484008884,45
combine,164899594949853,45
combine,229313499227138,45
combine,318889084862738,45
combine,443455133637244,45
combine,616679795214291,46
combine,857570340219872,46
combine,1192558754368259,45
combine,1658402017793359,47
combine,2306215305993888,47
combine,3207080659897750,47
combine,4459846542670307,47
combine,6201974098400894,47
combine,8624620230588741,47
combine,11993612508162467,47
combine,16678617394163429,47
combine,23193702313758517,48
combine,32253742280070436,47
combine,44852860358222949,49
combine,62373508935653787,50
combine,86738160863643546,48
combine,120620254951004305,48
combine,167737542041240361,48
combine,233260019401099876,48
combine,324377214479654514,48
combine,451087063885769557,48
combine,627292948216148289,49
combine,872329256113081214,49
combine,1213082871782253561,49
combine,1686943368572196357,49
combine,2345905621920710558,49
combine,3262275005483488118,49
combine,4536601179500475662,49
combine,6308711015242848966,49
combine,8773051255572086842,49
combine,12200024402279933263,50
real 5m0.510s
user 0m1.175s
sys 0m0.696s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment