Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update performance benchmarks, due to awesome new machine.

It sucks to be me.
  • Loading branch information...
commit 6397baf64e461fe7562b619222a26245b9a043ae 1 parent 0bda2b8
@mperham authored
Showing with 26 additions and 58 deletions.
  1. +3 −1 History.md
  2. +23 −57 Performance.md
View
4 History.md
@@ -4,7 +4,9 @@ Dalli Changelog
HEAD
=======
- - Add backwards compatibility module for memcache-client, require 'dalli/memcache-client'
+ - Add backwards compatibility module for memcache-client, require 'dalli/memcache-client'. It makes
+ Dalli more compatible with memcache-client and prints out a warning any time you do something that
+ is no longer supported so you can fix your code.
1.0.1
=======
View
80 Performance.md
@@ -2,68 +2,34 @@ Performance
====================
Caching is all about performance, so I carefully track Dalli performance to ensure no regressions.
-Times are from a Unibody MBP 2.4Ghz Core 2 Duo running Snow Leopard.
+Times are from a Unibody MBP 2.4Ghz Core i5 running Snow Leopard.
You can optionally use kgio to give Dalli a small, 10-20% performance boost: gem install kgio.
*memcache-client*:
- Testing 1.8.5 with ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
- user system total real
- set:plain:memcache-client 2.070000 0.590000 2.660000 ( 2.669744)
- set:ruby:memcache-client 2.150000 0.570000 2.720000 ( 2.734616)
- get:plain:memcache-client 2.240000 0.400000 2.640000 ( 2.675747)
- get:ruby:memcache-client 2.290000 0.380000 2.670000 ( 2.682108)
- multiget:ruby:memcache-client 1.030000 0.140000 1.170000 ( 1.174503)
- missing:ruby:memcache-client 1.900000 0.370000 2.270000 ( 2.282264)
- mixed:ruby:memcache-client 4.430000 0.950000 5.380000 ( 5.420251)
+ Testing 1.8.5 with ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
+ user system total real
+ set:plain:memcache-client 1.950000 0.320000 2.270000 ( 2.271513)
+ set:ruby:memcache-client 2.040000 0.310000 2.350000 ( 2.355625)
+ get:plain:memcache-client 2.160000 0.330000 2.490000 ( 2.499911)
+ get:ruby:memcache-client 2.310000 0.340000 2.650000 ( 2.659208)
+ multiget:ruby:memcache-client 1.050000 0.130000 1.180000 ( 1.168383)
+ missing:ruby:memcache-client 2.050000 0.320000 2.370000 ( 2.384290)
+ mixed:ruby:memcache-client 4.440000 0.660000 5.100000 ( 5.148145)
*dalli*:
- Testing 0.9.0 with ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
- user system total real
- set:plain:dalli 1.610000 0.360000 1.970000 ( 2.032947)
- set:ruby:dalli 1.690000 0.360000 2.050000 ( 2.108120)
- get:plain:dalli 1.710000 0.400000 2.110000 ( 2.123895)
- get:ruby:dalli 1.760000 0.390000 2.150000 ( 2.170964)
- multiget:ruby:dalli 0.950000 0.310000 1.260000 ( 1.269679)
- missing:ruby:dalli 1.650000 0.380000 2.030000 ( 2.054383)
- mixed:ruby:dalli 3.470000 0.750000 4.220000 ( 4.323265)
-
- Testing 0.9.4 with ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
- user system total real
- set:plain:dalli 1.380000 0.350000 1.730000 ( 1.818374)
- set:ruby:dalli 1.460000 0.320000 1.780000 ( 1.851925)
- get:plain:dalli 1.420000 0.350000 1.770000 ( 1.866443)
- get:ruby:dalli 1.570000 0.380000 1.950000 ( 2.028747)
- multiget:ruby:dalli 0.870000 0.300000 1.170000 ( 1.295592)
- missing:ruby:dalli 1.420000 0.370000 1.790000 ( 1.925094)
- mixed:ruby:dalli 2.800000 0.680000 3.480000 ( 3.820694)
-
- Testing 0.11.1 with ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
- Using standard socket IO
- user system total real
- set:plain:dalli 1.570000 0.380000 1.950000 ( 1.990252)
- setq:plain:dalli 0.460000 0.140000 0.600000 ( 0.600362)
- set:ruby:dalli 1.630000 0.380000 2.010000 ( 2.050056)
- get:plain:dalli 1.710000 0.410000 2.120000 ( 2.156428)
- get:ruby:dalli 1.680000 0.410000 2.090000 ( 2.120228)
- multiget:ruby:dalli 0.860000 0.310000 1.170000 ( 1.182857)
- missing:ruby:dalli 1.540000 0.390000 1.930000 ( 1.976637)
- mixed:ruby:dalli 3.300000 0.810000 4.110000 ( 4.166230)
- mixedq:ruby:dalli 2.530000 0.640000 3.170000 ( 3.214916)
- incr:ruby:dalli 0.540000 0.140000 0.680000 ( 0.691829)
-
- Testing 0.11.1 with ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
- Using kgio socket IO
- user system total real
- set:plain:dalli 0.800000 0.370000 1.170000 ( 1.694842)
- setq:plain:dalli 0.460000 0.150000 0.610000 ( 0.618146)
- set:ruby:dalli 0.860000 0.370000 1.230000 ( 1.760995)
- get:plain:dalli 0.910000 0.390000 1.300000 ( 1.860499)
- get:ruby:dalli 0.900000 0.390000 1.290000 ( 1.809426)
- multiget:ruby:dalli 0.720000 0.300000 1.020000 ( 1.044887)
- missing:ruby:dalli 0.770000 0.400000 1.170000 ( 1.649516)
- mixed:ruby:dalli 1.750000 0.760000 2.510000 ( 3.563845)
- mixedq:ruby:dalli 1.730000 0.650000 2.380000 ( 2.883827)
- incr:ruby:dalli 0.280000 0.130000 0.410000 ( 0.603845)
+ Using kgio socket IO
+ Testing 1.0.1 with ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
+ user system total real
+ set:plain:dalli 0.840000 0.300000 1.140000 ( 1.516160)
+ setq:plain:dalli 0.510000 0.120000 0.630000 ( 0.634174)
+ set:ruby:dalli 0.880000 0.300000 1.180000 ( 1.549591)
+ get:plain:dalli 0.970000 0.330000 1.300000 ( 1.621385)
+ get:ruby:dalli 0.970000 0.340000 1.310000 ( 1.622811)
+ multiget:ruby:dalli 0.800000 0.250000 1.050000 ( 1.453479)
+ missing:ruby:dalli 0.820000 0.330000 1.150000 ( 1.453847)
+ mixed:ruby:dalli 1.850000 0.640000 2.490000 ( 3.189240)
+ mixedq:ruby:dalli 1.820000 0.530000 2.350000 ( 2.611830)
+ incr:ruby:dalli 0.310000 0.110000 0.420000 ( 0.545641)
Please sign in to comment.
Something went wrong with that request. Please try again.