Skip to content

Instantly share code, notes, and snippets.

@sgonyea
Created October 25, 2010 20:44
Show Gist options
  • Save sgonyea/645724 to your computer and use it in GitHub Desktop.
Save sgonyea/645724 to your computer and use it in GitHub Desktop.
@ 100 iterations
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.010000 0.000000 0.010000 ( 0.062797)
Ripple: Get Client ID 0.170000 0.020000 0.190000 ( 0.390239)
ObjC: Get Key 0.000000 0.010000 0.010000 ( 0.051622)
Ripple: Get Key 0.160000 0.010000 0.170000 ( 0.339972)
ObjC: Put Key 0.010000 0.000000 0.010000 ( 0.214243)
Ripple: Put Key 0.090000 0.020000 0.110000 ( 0.547106)
------------------------------------------------- total: 0.500000sec
user system total real
ObjC: Get Client ID 0.010000 0.000000 0.010000 ( 0.047447)
Ripple: Get Client ID 0.140000 0.010000 0.150000 ( 0.313778)
ObjC: Get Key 0.010000 0.010000 0.020000 ( 0.053894)
Ripple: Get Key 0.140000 0.000000 0.140000 ( 0.315929)
ObjC: Put Key 0.010000 0.010000 0.020000 ( 0.120683)
Ripple: Put Key 0.090000 0.010000 0.100000 ( 0.381274)
@ 1000 iterations
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.050000 0.070000 0.120000 ( 0.519689)
Ripple: Get Client ID 1.550000 0.090000 1.640000 ( 3.409529)
ObjC: Get Key 0.050000 0.070000 0.120000 ( 0.550678)
Ripple: Get Key 1.540000 0.100000 1.640000 ( 3.317138)
ObjC: Put Key 0.100000 0.160000 0.260000 ( 1.625062)
Ripple: Put Key 0.890000 0.100000 0.990000 ( 3.700066)
------------------------------------------------- total: 4.770000sec
user system total real
ObjC: Get Client ID 0.050000 0.090000 0.140000 ( 0.585653)
Ripple: Get Client ID 1.540000 0.100000 1.640000 ( 3.347018)
ObjC: Get Key 0.050000 0.100000 0.150000 ( 0.626331)
Ripple: Get Key 1.530000 0.100000 1.630000 ( 3.384015)
ObjC: Put Key 0.090000 0.120000 0.210000 ( 0.987965)
Ripple: Put Key 0.870000 0.110000 0.980000 ( 3.190083)
sgonyea@skgMac:~/Sites/workspace/pabst/ext$ ruby bench.rb
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.010000 0.000000 0.010000 ( 0.060240)
Ripple: Get Client ID 0.170000 0.020000 0.190000 ( 0.389520)
ObjC: Get Key 0.000000 0.000000 0.000000 ( 0.061688)
Ripple: Get Key 0.160000 0.010000 0.170000 ( 0.380037)
ObjC: Put Key 0.010000 0.010000 0.020000 ( 0.260452)
Ripple: Put Key 0.090000 0.010000 0.100000 ( 0.463564)
ObjC: Get Bucket 0.000000 0.000000 0.000000 ( 0.012600)
RiplPb: Get Bucket 0.000000 0.010000 0.010000 ( 0.010552)
HTTP: Get Bucket 0.080000 0.000000 0.080000 ( 0.144860)
------------------------------------------------- total: 0.580000sec
user system total real
ObjC: Get Client ID 0.010000 0.010000 0.020000 ( 0.060563)
Ripple: Get Client ID 0.140000 0.010000 0.150000 ( 0.321184)
ObjC: Get Key 0.010000 0.000000 0.010000 ( 0.064076)
Ripple: Get Key 0.140000 0.010000 0.150000 ( 0.326933)
ObjC: Put Key 0.010000 0.010000 0.020000 ( 0.133485)
Ripple: Put Key 0.070000 0.010000 0.080000 ( 0.385376)
ObjC: Get Bucket 0.010000 0.000000 0.010000 ( 0.012915)
RiplPb: Get Bucket 0.000000 0.010000 0.010000 ( 0.013062)
HTTP: Get Bucket 0.080000 0.000000 0.080000 ( 0.144530)
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.050000 0.070000 0.120000 ( 0.580243)
Ripple: Get Client ID 1.560000 0.100000 1.660000 ( 3.493914)
ObjC: Get Key 0.060000 0.090000 0.150000 ( 0.597433)
Ripple: Get Key 1.540000 0.090000 1.630000 ( 3.397056)
ObjC: Put Key 0.100000 0.160000 0.260000 ( 1.554097)
Ripple: Put Key 0.890000 0.100000 0.990000 ( 3.758648)
ObjC: Get Bucket 0.020000 0.030000 0.050000 ( 0.141646)
RiplPb: Get Bucket 0.010000 0.010000 0.020000 ( 0.108882)
HTTP: Get Bucket 0.810000 0.050000 0.860000 ( 1.393544)
------------------------------------------------- total: 5.740000sec
user system total real
ObjC: Get Client ID 0.060000 0.100000 0.160000 ( 0.603470)
Ripple: Get Client ID 1.520000 0.090000 1.610000 ( 3.318527)
ObjC: Get Key 0.060000 0.100000 0.160000 ( 0.603888)
Ripple: Get Key 1.530000 0.100000 1.630000 ( 3.421162)
ObjC: Put Key 0.090000 0.130000 0.220000 ( 1.020391)
Ripple: Put Key 0.860000 0.100000 0.960000 ( 3.253664)
ObjC: Get Bucket 0.020000 0.020000 0.040000 ( 0.155954)
RiplPb: Get Bucket 0.020000 0.020000 0.040000 ( 0.109249)
HTTP: Get Bucket 0.770000 0.050000 0.820000 ( 1.359043)
sgonyea@skgMac:~/Sites/workspace/pabst/ext$ ruby bench.rb
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.000000 0.000000 0.000000 ( 0.058456)
Ripple: Get Client ID 0.170000 0.020000 0.190000 ( 0.360616)
ObjC: Get Key 0.000000 0.000000 0.000000 ( 0.058652)
Ripple: Get Key 0.160000 0.020000 0.180000 ( 0.341493)
ObjC: Put Key 0.010000 0.000000 0.010000 ( 0.171661)
Ripple: Put Key 0.090000 0.010000 0.100000 ( 0.460179)
ObjC: Get Bucket 0.000000 0.000000 0.000000 ( 0.013105)
RiplPb: Get Bucket 0.000000 0.010000 0.010000 ( 0.010575)
HTTP: Get Bucket 0.080000 0.000000 0.080000 ( 0.145619)
------------------------------------------------- total: 0.570000sec
user system total real
ObjC: Get Client ID 0.000000 0.010000 0.010000 ( 0.056330)
Ripple: Get Client ID 0.140000 0.010000 0.150000 ( 0.327648)
ObjC: Get Key 0.000000 0.000000 0.000000 ( 0.060014)
Ripple: Get Key 0.150000 0.020000 0.170000 ( 0.368013)
ObjC: Put Key 0.010000 0.000000 0.010000 ( 0.157206)
Ripple: Put Key 0.080000 0.000000 0.080000 ( 0.387955)
ObjC: Get Bucket 0.000000 0.000000 0.000000 ( 0.012638)
RiplPb: Get Bucket 0.000000 0.000000 0.000000 ( 0.013897)
HTTP: Get Bucket 0.080000 0.010000 0.090000 ( 0.165180)
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.060000 0.060000 0.120000 ( 0.761790)
Ripple: Get Client ID 1.530000 0.110000 1.640000 ( 3.411019)
ObjC: Get Key 0.050000 0.070000 0.120000 ( 0.565669)
Ripple: Get Key 1.540000 0.100000 1.640000 ( 3.459430)
ObjC: Put Key 0.100000 0.140000 0.240000 ( 1.349914)
Ripple: Put Key 0.880000 0.110000 0.990000 ( 3.721913)
ObjC: Get Bucket 0.020000 0.030000 0.050000 ( 0.135025)
RiplPb: Get Bucket 0.010000 0.020000 0.030000 ( 0.108935)
HTTP: Get Bucket 0.800000 0.040000 0.840000 ( 1.398150)
------------------------------------------------- total: 5.670000sec
user system total real
ObjC: Get Client ID 0.060000 0.100000 0.160000 ( 0.629863)
Ripple: Get Client ID 1.520000 0.100000 1.620000 ( 3.298310)
ObjC: Get Key 0.050000 0.090000 0.140000 ( 0.603141)
Ripple: Get Key 1.520000 0.100000 1.620000 ( 3.323543)
ObjC: Put Key 0.090000 0.130000 0.220000 ( 1.161257)
Ripple: Put Key 0.870000 0.100000 0.970000 ( 3.603287)
ObjC: Get Bucket 0.020000 0.030000 0.050000 ( 0.131837)
RiplPb: Get Bucket 0.020000 0.020000 0.040000 ( 0.110687)
HTTP: Get Bucket 0.780000 0.050000 0.830000 ( 1.357045)
sgonyea@skgMac:~/Sites/workspace/pabst/ext$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment