Skip to content

Instantly share code, notes, and snippets.

@imbriaco
Created March 21, 2009 04:06
Show Gist options
  • Save imbriaco/82723 to your computer and use it in GitHub Desktop.
Save imbriaco/82723 to your computer and use it in GitHub Desktop.
ruby timeout:
user system total real
push_head(10_000) 0.550000 0.350000 0.900000 ( 1.701019)
pop_head(10_000) 0.530000 0.320000 0.850000 ( 1.655060)
push_tail(10_000) 0.580000 0.330000 0.910000 ( 1.715845)
pop_tail(10_000) 0.580000 0.320000 0.900000 ( 1.736500)
incr(10_000) 0.540000 0.300000 0.840000 ( 1.655069)
decr(10_000) 0.570000 0.310000 0.880000 ( 1.762211)
set_add(10_000) 0.560000 0.310000 0.870000 ( 1.733475)
socket timeout:
user system total real
push_head(10_000) 0.280000 0.190000 0.470000 ( 1.099137)
pop_head(10_000) 0.270000 0.180000 0.450000 ( 1.082428)
push_tail(10_000) 0.280000 0.180000 0.460000 ( 1.098658)
pop_tail(10_000) 0.250000 0.190000 0.440000 ( 1.100373)
incr(10_000) 0.310000 0.180000 0.490000 ( 1.242302)
decr(10_000) 0.310000 0.180000 0.490000 ( 1.248215)
set_add(10_000) 0.250000 0.190000 0.440000 ( 1.070757)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment