Skip to content

Instantly share code, notes, and snippets.

@sgonyea
Created October 22, 2010 21:50
Show Gist options
  • Save sgonyea/641447 to your computer and use it in GitHub Desktop.
Save sgonyea/641447 to your computer and use it in GitHub Desktop.
@100 iterations
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.010000 0.000000 0.010000 ( 0.050593)
Riakpb: Get Client ID 4.050000 0.080000 4.130000 ( 4.163497)
Ripple: Get Client ID 0.160000 0.010000 0.170000 ( 0.344446)
ObjC: Get Key 0.000000 0.010000 0.010000 ( 0.051029)
Riakpb: Get Key 4.090000 0.080000 4.170000 ( 4.228026)
Ripple: Get Key 0.160000 0.010000 0.170000 ( 0.337394)
ObjC: Put Key 0.010000 0.000000 0.010000 ( 0.110826)
Riakpb: Put Key 4.100000 0.090000 4.190000 ( 4.231024)
Ripple: Put Key 0.080000 0.010000 0.090000 ( 0.269842)
------------------------------------------------ total: 12.950000sec
user system total real
ObjC: Get Client ID 0.010000 0.010000 0.020000 ( 0.051023)
Riakpb: Get Client ID 4.080000 0.090000 4.170000 ( 4.236119)
Ripple: Get Client ID 0.150000 0.010000 0.160000 ( 0.325666)
ObjC: Get Key 0.000000 0.000000 0.000000 ( 0.052734)
Riakpb: Get Key 4.070000 0.100000 4.170000 ( 4.189495)
Ripple: Get Key 0.150000 0.010000 0.160000 ( 0.324860)
ObjC: Put Key 0.010000 0.000000 0.010000 ( 0.080641)
Riakpb: Put Key 4.100000 0.100000 4.200000 ( 4.263085)
Ripple: Put Key 0.080000 0.010000 0.090000 ( 0.252058)
@1000 iterations
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.040000 0.040000 0.080000 ( 0.506003)
Riakpb: Get Client ID 41.250000 1.120000 42.370000 ( 43.208728)
Ripple: Get Client ID 1.530000 0.100000 1.630000 ( 3.237873)
ObjC: Get Key 0.040000 0.060000 0.100000 ( 0.540877)
Riakpb: Get Key 40.780000 1.110000 41.890000 ( 42.433865)
Ripple: Get Key 1.540000 0.110000 1.650000 ( 3.285781)
ObjC: Put Key 0.070000 0.080000 0.150000 ( 0.710178)
Riakpb: Put Key 41.200000 1.150000 42.350000 ( 43.002571)
Ripple: Put Key 0.830000 0.100000 0.930000 ( 2.390977)
----------------------------------------------- total: 131.150000sec
user system total real
ObjC: Get Client ID 0.040000 0.070000 0.110000 ( 0.541528)
Riakpb: Get Client ID 40.720000 1.170000 41.890000 ( 42.265512)
Ripple: Get Client ID 1.530000 0.100000 1.630000 ( 3.267765)
ObjC: Get Key 0.050000 0.080000 0.130000 ( 0.515160)
Riakpb: Get Key 40.830000 1.170000 42.000000 ( 42.520434)
Ripple: Get Key 1.530000 0.090000 1.620000 ( 3.255000)
ObjC: Put Key 0.070000 0.110000 0.180000 ( 0.919802)
Riakpb: Put Key 41.060000 1.160000 42.220000 ( 42.722993)
Ripple: Put Key 0.840000 0.100000 0.940000 ( 2.702533)
By cutting down some of my type checks, it's now:
@100
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.000000 0.010000 0.010000 ( 0.052973)
Ripple: Get Client ID 0.170000 0.020000 0.190000 ( 0.379632)
ObjC: Get Key 0.010000 0.000000 0.010000 ( 0.051916)
Ripple: Get Key 0.150000 0.010000 0.160000 ( 0.333416)
ObjC: Put Key 0.010000 0.010000 0.020000 ( 0.102052)
Ripple: Put Key 0.090000 0.010000 0.100000 ( 0.267622)
------------------------------------------------- total: 0.490000sec
user system total real
ObjC: Get Client ID 0.000000 0.000000 0.000000 ( 0.061249)
Ripple: Get Client ID 0.150000 0.010000 0.160000 ( 0.364751)
ObjC: Get Key 0.010000 0.010000 0.020000 ( 0.052178)
Ripple: Get Key 0.130000 0.010000 0.140000 ( 0.307791)
ObjC: Put Key 0.010000 0.010000 0.020000 ( 0.080906)
Ripple: Put Key 0.080000 0.010000 0.090000 ( 0.262573)
@1000
Rehearsal ----------------------------------------------------------
ObjC: Get Client ID 0.050000 0.070000 0.120000 ( 0.651184)
Ripple: Get Client ID 1.590000 0.110000 1.700000 ( 3.612732)
ObjC: Get Key 0.050000 0.070000 0.120000 ( 0.618611)
Ripple: Get Key 1.550000 0.110000 1.660000 ( 3.408414)
ObjC: Put Key 0.080000 0.110000 0.190000 ( 0.924065)
Ripple: Put Key 0.850000 0.100000 0.950000 ( 2.722387)
------------------------------------------------- total: 4.740000sec
user system total real
ObjC: Get Client ID 0.040000 0.080000 0.120000 ( 0.534675)
Ripple: Get Client ID 1.510000 0.090000 1.600000 ( 3.247961)
ObjC: Get Key 0.050000 0.090000 0.140000 ( 0.583215)
Ripple: Get Key 1.520000 0.100000 1.620000 ( 3.317036)
ObjC: Put Key 0.070000 0.110000 0.180000 ( 0.772209)
Ripple: Put Key 0.830000 0.090000 0.920000 ( 2.464232)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment