Skip to content

Instantly share code, notes, and snippets.

@mperham
Created Sep 2, 2009
Embed
What would you like to do?
Using ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
goblin:~$ sudo gem install memcached
Password:
Building native extensions. This could take a while...
Successfully installed memcached-0.16
1 gem installed
goblin:~$ ruby -e 'system("ruby #{File.dirname(`gem which memcached`.split("\n").
> last)}/../test/profile/benchmark.rb")'
Loading memcached
Loading memcache
Loading caffeine
Failed
Recursion level is 0
user system total real
set:plain:noblock:memcached:net 0.250000 0.060000 0.310000 ( 0.822611)
set:plain:noblock:memcached:uds 0.250000 0.060000 0.310000 ( 0.376881)
set:plain:memcached:net 0.620000 1.040000 1.660000 ( 3.908723)
set:plain:memcached:uds 0.530000 0.570000 1.100000 ( 2.529010)
set:plain:memcache-client 2.640000 1.080000 3.720000 ( 6.425777)
set:ruby:noblock:memcached:net 0.530000 0.060000 0.590000 ( 0.986913)
set:ruby:noblock:memcached:uds 0.500000 0.060000 0.560000 ( 0.620846)
set:ruby:memcached:net 0.940000 0.950000 1.890000 ( 4.226649)
set:ruby:memcached:uds 0.820000 0.580000 1.400000 ( 3.145105)
set:ruby:memcache-client 2.920000 1.060000 3.980000 ( 6.861207)
get:plain:memcached:net 0.690000 1.030000 1.720000 ( 3.873419)
get:plain:memcached:uds 0.620000 0.550000 1.170000 ( 2.199621)
get:plain:memcache-client 3.370000 1.050000 4.420000 ( 6.873614)
get:ruby:memcached:net 0.930000 0.960000 1.890000 ( 4.057405)
get:ruby:memcached:uds 0.820000 0.560000 1.380000 ( 2.720841)
get:ruby:memcache-client 3.620000 1.060000 4.680000 ( 7.151047)
multiget:ruby:memcached:net 0.520000 0.340000 0.860000 ( 1.305785)
multiget:ruby:memcached:uds 0.520000 0.240000 0.760000 ( 1.009815)
multiget:ruby:memcache-client 2.500000 0.390000 2.890000 ( 3.813273)
missing:ruby:memcached:net 0.970000 0.990000 1.960000 ( 4.234529)
missing:ruby:memcached:uds 0.850000 0.630000 1.480000 ( 3.100206)
missing:ruby:memcached:inline 0.900000 0.980000 1.880000 ( 4.063092)
missing:ruby:memcached:uds:inline 0.820000 0.650000 1.470000 ( 2.860937)
missing:ruby:memcache-client 2.700000 0.940000 3.640000 ( 5.968058)
mixed:ruby:noblock:memcached:net 1.840000 2.270000 4.110000 ( 7.861699)
mixed:ruby:noblock:memcached:uds 1.570000 1.100000 2.670000 ( 5.692753)
mixed:ruby:memcached:net 1.910000 1.900000 3.810000 ( 8.301378)
mixed:ruby:memcached:uds 1.670000 1.150000 2.820000 ( 6.380009)
mixed:ruby:memcache-client 6.940000 2.020000 8.960000 ( 14.276506)
hash:jenkins 0.030000 0.000000 0.030000 ( 0.024847)
hash:default 0.040000 0.000000 0.040000 ( 0.038546)
hash:fnv1_64 0.040000 0.000000 0.040000 ( 0.040506)
hash:crc 0.030000 0.000000 0.030000 ( 0.035231)
hash:murmur 0.020000 0.000000 0.020000 ( 0.022545)
hash:hsieh 0.020000 0.000000 0.020000 ( 0.019647)
hash:md5 0.050000 0.000000 0.050000 ( 0.054756)
hash:fnv1a_32 0.030000 0.000000 0.030000 ( 0.029007)
hash:fnv1a_64 0.030000 0.000000 0.030000 ( 0.031911)
hash:fnv1_32 0.020000 0.000000 0.020000 ( 0.028990)
goblin:~$ gem list memcache-client
*** LOCAL GEMS ***
memcache-client (1.7.4, 1.7.3, 1.7.2, 1.7.1, 1.7.0, 1.6.5, 1.5.0)
goblin:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment