зеркало из https://github.com/github/memcached.git
Update benchmark doc.
This commit is contained in:
Родитель
1594e32cd9
Коммит
864b2196e8
207
BENCHMARKS
207
BENCHMARKS
|
@ -9,112 +9,109 @@ You can easily run your own benchmarks, as long as you have memcached itself on
|
|||
|
||||
These benchmarks were run on an OS X 10.5 Core 2 Duo machine:
|
||||
|
||||
Ruby 1.8.7p174
|
||||
Loaded memcached 0.17
|
||||
Loaded binary42-remix-stash 0.9.5
|
||||
Loaded memcache-client 1.7.5
|
||||
Loops is 40000
|
||||
Darwin amber.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
|
||||
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
|
||||
Ruby 1.9.2p0
|
||||
Loaded memcached 0.20.1
|
||||
Loaded remix-stash 1.1.3
|
||||
Loaded memcache-client 1.8.5
|
||||
Loaded dalli 0.9.2
|
||||
Loops is 20000
|
||||
Stack depth is 0
|
||||
Small value size is: 13 bytes
|
||||
Large value size is: 4158 bytes
|
||||
|
||||
Small value size is: 19 bytes
|
||||
Large value size is: 4189 bytes
|
||||
user system total real
|
||||
set:libm 1.360000 2.120000 3.480000 ( 8.952505)
|
||||
set:libm:binary 1.180000 2.100000 3.280000 ( 7.692065)
|
||||
set:libm:noblock 0.590000 0.240000 0.830000 ( 1.863921)
|
||||
set:libm:noblock_binary 0.470000 0.220000 0.690000 ( 1.678243)
|
||||
set:libm:udp 1.140000 1.150000 2.290000 ( 4.835305)
|
||||
set:ruby 15.440000 6.330000 21.770000 ( 22.136843)
|
||||
set:stash 5.780000 2.040000 7.820000 ( 13.748268)
|
||||
get:libm 1.600000 2.000000 3.600000 ( 8.112166)
|
||||
get:libm:binary 1.360000 2.150000 3.510000 ( 7.829266)
|
||||
get:libm:noblock 1.820000 2.630000 4.450000 ( 8.971191)
|
||||
get:libm:noblock_binary 1.560000 2.650000 4.210000 ( 8.114088)
|
||||
get:libm:udp 1.350000 1.140000 2.490000 ( 4.878485)
|
||||
get:ruby 18.640000 6.370000 25.010000 ( 25.925459)
|
||||
get:stash 5.120000 1.990000 7.110000 ( 11.850485)
|
||||
get-multi:libm 1.770000 1.320000 3.090000 ( 4.790793)
|
||||
get-multi:libm:binary 1.730000 1.740000 3.470000 ( 5.655120)
|
||||
get-multi:libm:noblock 1.820000 1.330000 3.150000 ( 4.841084)
|
||||
get-multi:libm:noblock_binary 1.740000 1.760000 3.500000 ( 5.616970)
|
||||
get-multi:libm:udp 1.690000 0.960000 2.650000 ( 3.551923)
|
||||
get-multi:ruby 21.380000 4.400000 25.780000 ( 26.017883)
|
||||
append:libm 1.500000 2.180000 3.680000 ( 14.658051)
|
||||
append:libm:binary 1.300000 2.110000 3.410000 ( 13.626305)
|
||||
append:libm:noblock 1.850000 2.870000 4.720000 ( 45.167145)
|
||||
append:libm:noblock_binary 1.640000 2.870000 4.510000 ( 44.614596)
|
||||
append:libm:udp 1.260000 1.170000 2.430000 ( 11.556293)
|
||||
append:ruby 16.770000 7.310000 24.080000 ( 29.525815)
|
||||
delete:libm 1.890000 2.080000 3.970000 ( 8.368548)
|
||||
delete:libm:binary 1.730000 2.090000 3.820000 ( 7.799952)
|
||||
delete:libm:noblock 0.850000 0.890000 1.740000 ( 2.530108)
|
||||
delete:libm:noblock_binary 0.710000 0.780000 1.490000 ( 2.390600)
|
||||
delete:libm:udp 1.700000 1.310000 3.010000 ( 6.508360)
|
||||
delete:ruby 15.670000 6.330000 22.000000 ( 22.226087)
|
||||
delete:stash 4.970000 2.010000 6.980000 ( 11.726916)
|
||||
get-missing:libm 2.070000 2.060000 4.130000 ( 8.937420)
|
||||
get-missing:libm:binary 2.010000 2.090000 4.100000 ( 8.506150)
|
||||
get-missing:libm:noblock 2.270000 2.770000 5.040000 ( 9.485592)
|
||||
get-missing:libm:noblock_binary 2.220000 2.760000 4.980000 ( 9.226826)
|
||||
get-missing:libm:udp 1.830000 1.300000 3.130000 ( 7.135699)
|
||||
get-missing:ruby 16.130000 6.380000 22.510000 ( 22.888698)
|
||||
get-missing:stash 5.030000 2.030000 7.060000 ( 11.556793)
|
||||
append-missing:libm 2.210000 2.070000 4.280000 ( 10.386632)
|
||||
append-missing:libm:binary 2.000000 2.060000 4.060000 ( 9.135312)
|
||||
append-missing:libm:noblock 2.400000 2.740000 5.140000 ( 10.821778)
|
||||
append-missing:libm:noblock_binary 2.200000 2.770000 4.970000 ( 9.699192)
|
||||
append-missing:libm:udp 1.970000 1.320000 3.290000 ( 7.668878)
|
||||
append-missing:ruby 15.970000 6.470000 22.440000 ( 22.912466)
|
||||
set-large:libm 1.460000 2.210000 3.670000 ( 9.517034)
|
||||
set-large:libm:binary 1.260000 2.270000 3.530000 ( 9.098769)
|
||||
set-large:libm:noblock 0.980000 0.890000 1.870000 ( 3.304075)
|
||||
set-large:libm:noblock_binary 0.840000 0.890000 1.730000 ( 3.444305)
|
||||
set-large:libm:udp 1.250000 1.330000 2.580000 ( 6.924254)
|
||||
set-large:ruby 16.960000 6.490000 23.450000 ( 23.964380)
|
||||
get-large:libm 2.280000 2.450000 4.730000 ( 9.908532)
|
||||
get-large:libm:binary 2.080000 2.530000 4.610000 ( 8.966637)
|
||||
get-large:libm:noblock 2.410000 2.850000 5.260000 ( 11.066391)
|
||||
get-large:libm:noblock_binary 2.200000 2.910000 5.110000 ( 10.328922)
|
||||
get-large:libm:udp 2.010000 1.430000 3.440000 ( 6.679192)
|
||||
get-large:ruby 21.790000 7.370000 29.160000 ( 29.578987)
|
||||
get-large:stash 5.430000 2.020000 7.450000 ( 11.967011)
|
||||
set-ruby:libm 1.800000 1.990000 3.790000 ( 9.511387)
|
||||
set-ruby:libm:binary 1.610000 2.000000 3.610000 ( 8.502297)
|
||||
set-ruby:libm:noblock 0.910000 0.200000 1.110000 ( 2.083001)
|
||||
set-ruby:libm:noblock_binary 0.750000 0.210000 0.960000 ( 1.895510)
|
||||
set-ruby:libm:udp 1.530000 1.170000 2.700000 ( 6.148442)
|
||||
set-ruby:ruby 16.290000 6.400000 22.690000 ( 23.672254)
|
||||
set-ruby:stash 5.570000 2.020000 7.590000 ( 13.381661)
|
||||
get-ruby:libm 1.920000 1.950000 3.870000 ( 9.042716)
|
||||
get-ruby:libm:binary 1.640000 1.980000 3.620000 ( 7.987886)
|
||||
get-ruby:libm:noblock 2.140000 2.600000 4.740000 ( 10.280036)
|
||||
get-ruby:libm:noblock_binary 1.870000 2.590000 4.460000 ( 9.213013)
|
||||
get-ruby:libm:udp 1.660000 1.170000 2.830000 ( 5.762381)
|
||||
get-ruby:ruby 19.760000 6.500000 26.260000 ( 27.573109)
|
||||
get-ruby:stash 5.480000 2.010000 7.490000 ( 12.349059)
|
||||
set-ruby-large:libm 33.820000 2.340000 36.160000 ( 43.061537)
|
||||
set-ruby-large:libm:binary 33.430000 2.260000 35.690000 ( 41.940845)
|
||||
set-ruby-large:libm:noblock 34.170000 0.930000 35.100000 ( 35.632694)
|
||||
set-ruby-large:libm:noblock_binary 34.010000 0.930000 34.940000 ( 35.383141)
|
||||
set-ruby-large:libm:udp 33.150000 1.430000 34.580000 ( 39.521448)
|
||||
set-ruby-large:ruby 48.830000 6.560000 55.390000 ( 55.750071)
|
||||
set-ruby-large:stash 38.660000 2.230000 40.890000 ( 46.957838)
|
||||
get-ruby-large:libm 23.570000 2.340000 25.910000 ( 32.166590)
|
||||
get-ruby-large:libm:binary 23.420000 2.510000 25.930000 ( 31.953854)
|
||||
get-ruby-large:libm:noblock 23.840000 3.040000 26.880000 ( 32.919639)
|
||||
get-ruby-large:libm:noblock_binary 23.570000 2.970000 26.540000 ( 32.210027)
|
||||
get-ruby-large:libm:udp 23.210000 1.460000 24.670000 ( 29.284808)
|
||||
get-ruby-large:ruby 41.170000 7.560000 48.730000 ( 49.507358)
|
||||
get-ruby-large:stash 25.760000 2.540000 28.300000 ( 33.998493)
|
||||
hash:fnv1a_64 0.240000 0.000000 0.240000 ( 0.247813)
|
||||
hash:murmur 0.190000 0.000000 0.190000 ( 0.193039)
|
||||
hash:default 0.220000 0.000000 0.220000 ( 0.216573)
|
||||
hash:jenkins 0.220000 0.000000 0.220000 ( 0.222694)
|
||||
hash:md5 0.390000 0.000000 0.390000 ( 0.395159)
|
||||
hash:crc 0.210000 0.000000 0.210000 ( 0.216457)
|
||||
hash:hsieh 0.100000 0.000000 0.100000 ( 0.104386)
|
||||
hash:fnv1_32 0.220000 0.000000 0.220000 ( 0.216769)
|
||||
hash:fnv1a_32 0.230000 0.000000 0.230000 ( 0.237016)
|
||||
hash:fnv1_64 0.450000 0.010000 0.460000 ( 0.454704)
|
||||
set: dalli:bin 5.690000 1.470000 7.160000 ( 7.544474)
|
||||
set: libm:ascii 0.570000 1.010000 1.580000 ( 4.061111)
|
||||
set: libm:ascii:pipelined 0.170000 0.010000 0.180000 ( 0.204473)
|
||||
set: libm:ascii:udp 0.440000 0.570000 1.010000 ( 2.020919)
|
||||
set: libm:bin 0.480000 0.990000 1.470000 ( 3.618394)
|
||||
set: libm:bin:buffered 0.140000 0.110000 0.250000 ( 0.850164)
|
||||
set: mclient:ascii 5.700000 2.900000 8.600000 ( 12.593552)
|
||||
set: stash:bin 2.590000 1.130000 3.720000 ( 6.895667)
|
||||
get: dalli:bin 6.140000 1.640000 7.780000 ( 8.120870)
|
||||
get: libm:ascii 0.680000 1.060000 1.740000 ( 3.953136)
|
||||
get: libm:ascii:pipelined 0.790000 1.330000 2.120000 ( 4.250141)
|
||||
get: libm:ascii:udp 0.570000 0.560000 1.130000 ( 2.024838)
|
||||
get: libm:bin 0.560000 1.000000 1.560000 ( 3.364367)
|
||||
get: libm:bin:buffered 0.660000 1.340000 2.000000 ( 4.056436)
|
||||
get: mclient:ascii 8.900000 3.470000 12.370000 ( 12.624638)
|
||||
get: stash:bin 2.380000 1.320000 3.700000 ( 5.831569)
|
||||
get-multi: dalli:bin 7.810000 2.850000 10.660000 ( 12.396192)
|
||||
get-multi: libm:ascii 0.780000 0.650000 1.430000 ( 2.609915)
|
||||
get-multi: libm:ascii:pipelined 0.800000 0.660000 1.460000 ( 2.546374)
|
||||
get-multi: libm:ascii:udp 0.730000 0.480000 1.210000 ( 1.781971)
|
||||
get-multi: libm:bin 0.800000 0.990000 1.790000 ( 3.987702)
|
||||
get-multi: libm:bin:buffered 0.820000 1.010000 1.830000 ( 3.508872)
|
||||
append: dalli:bin 5.770000 1.780000 7.550000 ( 11.354010)
|
||||
append: libm:ascii 0.610000 1.050000 1.660000 ( 6.385280)
|
||||
append: libm:ascii:pipelined 0.200000 0.040000 0.240000 ( 10.522379)
|
||||
append: libm:ascii:udp 0.500000 0.590000 1.090000 ( 4.884173)
|
||||
append: libm:bin 0.530000 1.040000 1.570000 ( 12.662797)
|
||||
append: libm:bin:buffered 0.790000 1.460000 2.250000 ( 20.260717)
|
||||
append: mclient:ascii 7.520000 3.470000 10.990000 ( 16.817814)
|
||||
prepend: dalli:bin 7.810000 1.950000 9.760000 ( 14.211460)
|
||||
prepend: libm:ascii 0.830000 1.160000 1.990000 ( 21.648508)
|
||||
prepend: libm:ascii:pipelined 0.170000 0.010000 0.180000 ( 0.215234)
|
||||
prepend: libm:ascii:udp 0.570000 0.650000 1.220000 ( 15.297762)
|
||||
prepend: libm:bin 1.160000 1.050000 2.210000 ( 5.397475)
|
||||
prepend: libm:bin:buffered 1.250000 1.400000 2.650000 ( 5.678642)
|
||||
prepend: mclient:ascii 7.810000 3.400000 11.210000 ( 11.534738)
|
||||
delete: dalli:bin 5.900000 1.750000 7.650000 ( 7.850826)
|
||||
delete: libm:ascii 1.140000 1.060000 2.200000 ( 4.545686)
|
||||
delete: libm:ascii:pipelined 0.290000 0.350000 0.640000 ( 0.700919)
|
||||
delete: libm:ascii:udp 1.050000 0.670000 1.720000 ( 3.419179)
|
||||
delete: libm:bin 1.080000 1.050000 2.130000 ( 4.469016)
|
||||
delete: libm:bin:buffered 0.240000 0.350000 0.590000 ( 1.101547)
|
||||
delete: mclient:ascii 7.570000 3.330000 10.900000 ( 11.203959)
|
||||
get-missing: dalli:bin 6.020000 1.730000 7.750000 ( 7.932838)
|
||||
get-missing: libm:ascii 1.190000 1.060000 2.250000 ( 4.481875)
|
||||
get-missing: libm:ascii:pipelined 1.300000 1.420000 2.720000 ( 4.783374)
|
||||
get-missing: libm:ascii:udp 1.080000 0.660000 1.740000 ( 3.517992)
|
||||
get-missing: libm:bin 1.160000 1.040000 2.200000 ( 4.549385)
|
||||
get-missing: libm:bin:buffered 1.280000 1.410000 2.690000 ( 4.840153)
|
||||
get-missing: mclient:ascii 7.710000 3.360000 11.070000 ( 11.335351)
|
||||
get-missing: stash:bin 2.330000 1.340000 3.670000 ( 5.780944)
|
||||
append-missing: dalli:bin 8.450000 1.910000 10.360000 ( 10.694941)
|
||||
append-missing: libm:ascii 1.240000 1.060000 2.300000 ( 5.372614)
|
||||
append-missing: libm:ascii:pipelined 0.180000 0.020000 0.200000 ( 0.237714)
|
||||
append-missing: libm:ascii:udp 1.140000 0.680000 1.820000 ( 3.812825)
|
||||
append-missing: libm:bin 1.140000 1.050000 2.190000 ( 4.750704)
|
||||
append-missing: libm:bin:buffered 1.250000 1.420000 2.670000 ( 5.056463)
|
||||
append-missing: mclient:ascii 7.770000 3.370000 11.140000 ( 11.456574)
|
||||
prepend-missing: dalli:bin 8.500000 1.920000 10.420000 ( 10.667994)
|
||||
prepend-missing: libm:ascii 1.240000 1.060000 2.300000 ( 5.388784)
|
||||
prepend-missing: libm:ascii:pipelined 0.170000 0.010000 0.180000 ( 0.193518)
|
||||
prepend-missing: libm:ascii:udp 1.130000 0.680000 1.810000 ( 3.956557)
|
||||
prepend-missing: libm:bin 1.140000 1.050000 2.190000 ( 4.765375)
|
||||
prepend-missing: libm:bin:buffered 1.230000 1.310000 2.540000 ( 5.346074)
|
||||
prepend-missing: mclient:ascii 7.070000 3.260000 10.330000 ( 12.632320)
|
||||
set-large: dalli:bin 5.420000 1.520000 6.940000 ( 8.705231)
|
||||
set-large: libm:ascii 0.620000 1.110000 1.730000 ( 4.927162)
|
||||
set-large: libm:ascii:pipelined 0.350000 0.330000 0.680000 ( 1.809109)
|
||||
set-large: libm:ascii:udp 0.560000 0.700000 1.260000 ( 3.709967)
|
||||
set-large: libm:bin 0.530000 1.070000 1.600000 ( 4.441450)
|
||||
set-large: libm:bin:buffered 0.320000 0.500000 0.820000 ( 2.163353)
|
||||
set-large: mclient:ascii 7.920000 3.560000 11.480000 ( 13.464264)
|
||||
set-large: stash:bin 3.920000 1.260000 5.180000 ( 8.726858)
|
||||
get-large: dalli:bin 6.180000 1.980000 8.160000 ( 10.655348)
|
||||
get-large: libm:ascii 0.940000 1.170000 2.110000 ( 4.999261)
|
||||
get-large: libm:ascii:pipelined 1.010000 1.450000 2.460000 ( 5.911924)
|
||||
get-large: libm:ascii:udp 0.850000 0.770000 1.620000 ( 2.639051)
|
||||
get-large: libm:bin 0.800000 1.140000 1.940000 ( 4.645304)
|
||||
get-large: libm:bin:buffered 0.880000 1.360000 2.240000 ( 5.646692)
|
||||
get-large: mclient:ascii 10.120000 4.100000 14.220000 ( 16.000877)
|
||||
get-large: stash:bin 2.620000 1.540000 4.160000 ( 6.244804)
|
||||
hash:default 0.070000 0.000000 0.070000 ( 0.081779)
|
||||
hash:md5 0.150000 0.000000 0.150000 ( 0.161684)
|
||||
hash:crc 0.090000 0.000000 0.090000 ( 0.089427)
|
||||
hash:fnv1_64 0.160000 0.010000 0.170000 ( 0.176238)
|
||||
hash:fnv1a_64 0.060000 0.000000 0.060000 ( 0.062302)
|
||||
hash:fnv1_32 0.050000 0.000000 0.050000 ( 0.062482)
|
||||
hash:fnv1a_32 0.050000 0.000000 0.050000 ( 0.062120)
|
||||
hash:hsieh 0.030000 0.000000 0.030000 ( 0.026511)
|
||||
hash:murmur 0.040000 0.000000 0.040000 ( 0.050309)
|
||||
hash:jenkins 0.050000 0.000000 0.050000 ( 0.058278)
|
||||
hash:none 0.020000 0.000000 0.020000 ( 0.026407)
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче