Skip to content

Instantly share code, notes, and snippets.

@sgonyea
Created November 24, 2010 18:49
Show Gist options
  • Select an option

  • Save sgonyea/714175 to your computer and use it in GitHub Desktop.

Select an option

Save sgonyea/714175 to your computer and use it in GitHub Desktop.
sgonyea@skg:~/Sites/streamly_ffi$ ruby benchmark/basic_request.rb http://localhost:8080/ 1000
Rehearsal ------------------------------------
StreamlyFFI
0.410000 0.350000 0.760000 ( 14.862002)
Streamly
0.160000 0.330000 0.490000 ( 16.206925)
Curb
0.570000 0.330000 0.900000 ( 16.687001)
Excon
0.220000 0.030000 0.250000 ( 0.327825)
StreamlyFFI (Persistent)
0.290000 0.080000 0.370000 ( 0.437688)
StreamlyFFI (Cheating)
0.120000 0.050000 0.170000 ( 0.270198)
Excon (Persistent)
0.180000 0.040000 0.220000 ( 0.289534)
rest-client
1.170000 0.220000 1.390000 ( 14.132975)
`curl`
0.220000 3.950000 9.840000 ( 15.766454)
-------------------------- total: 14.390000sec
user system total real
StreamlyFFI
0.420000 0.350000 0.770000 ( 13.913072)
Streamly
0.170000 0.270000 0.440000 ( 16.190466)
Curb
0.500000 0.270000 0.770000 ( 14.712767)
Excon
0.220000 0.040000 0.260000 ( 0.328366)
StreamlyFFI (Persistent)
0.250000 0.070000 0.320000 ( 0.390734)
StreamlyFFI (Cheating)
0.120000 0.050000 0.170000 ( 0.227167)
Excon (Persistent)
0.160000 0.030000 0.190000 ( 0.265156)
rest-client
1.030000 0.210000 1.240000 ( 15.016398)
`curl`
0.210000 3.980000 9.440000 ( 10.334329)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment