Skip to content

Instantly share code, notes, and snippets.

@phiggins
Created November 30, 2010 18:37
Show Gist options
  • Save phiggins/722142 to your computer and use it in GitHub Desktop.
Save phiggins/722142 to your computer and use it in GitHub Desktop.
$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
$ ruby -Ilib benchmarks/excon_vs.rb
[em-http-request, Excon, Excon (persistent), HTTParty, Net::HTTP, Net::HTTP (persistent), open-uri, RestClient, StreamlyFFI (persistent), Typhoeus]
+--------------------------+-----------+
| tach | total |
+--------------------------+-----------+
| Net::HTTP (persistent) | 2.288449 |
+--------------------------+-----------+
| Net::HTTP | 2.374723 |
+--------------------------+-----------+
| RestClient | 2.638332 |
+--------------------------+-----------+
| HTTParty | 2.789442 |
+--------------------------+-----------+
| open-uri | 3.007677 |
+--------------------------+-----------+
| em-http-request | 4.516858 |
+--------------------------+-----------+
| Typhoeus | 40.524264 |
+--------------------------+-----------+
| StreamlyFFI (persistent) | 40.762933 |
+--------------------------+-----------+
| Excon (persistent) | 40.821797 |
+--------------------------+-----------+
| Excon | 40.852742 |
+--------------------------+-----------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment