Skip to content

Instantly share code, notes, and snippets.

@tarcieri
Created March 26, 2015 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarcieri/6bf23d9b69b499b3a313 to your computer and use it in GitHub Desktop.
Save tarcieri/6bf23d9b69b499b3a313 to your computer and use it in GitHub Desktop.
Ruby HTTP client benchmark
+--------------------------+-----------+
| tach | total |
+--------------------------+-----------+
| curb (persistent) | 2.519088 |
+--------------------------+-----------+
| em-http-request | 2.731645 |
+--------------------------+-----------+
| Typhoeus | 2.851911 |
+--------------------------+-----------+
| StreamlyFFI (persistent) | 2.853786 |
+--------------------------+-----------+
| http (persistent) | 2.970702 |
+--------------------------+-----------+
| http | 3.588964 |
+--------------------------+-----------+
| HTTParty | 3.931913 |
+--------------------------+-----------+
| Net::HTTP | 3.959342 |
+--------------------------+-----------+
| Net::HTTP (persistent) | 4.043674 |
+--------------------------+-----------+
| open-uri | 4.479817 |
+--------------------------+-----------+
| Excon (persistent) | 4.618361 |
+--------------------------+-----------+
| Excon | 4.701262 |
+--------------------------+-----------+
| RestClient | 26.832668 |
+--------------------------+-----------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment