@@ -38,21 +38,21 @@ Top three reasons:
38
38
http.rb achieves the best performance of any Ruby HTTP library which
39
39
implements the HTTP protocol in Ruby instead of C:
40
40
41
- | HTTP client | time |
42
- | --------------------------| -----------|
43
- | curb (persistent) | 2.519088 |
44
- | em-http-request | 2.731645 |
45
- | Typhoeus | 2.851911 |
46
- | StreamlyFFI (persistent) | 2.853786 |
47
- | http.rb (persistent) | 2.970702 |
48
- | http.rb | 3.588964 |
49
- | HTTParty | 3.931913 |
50
- | Net::HTTP | 3.959342 |
51
- | Net::HTTP (persistent) | 4.043674 |
52
- | open-uri | 4.479817 |
53
- | Excon (persistent) | 4.618361 |
54
- | Excon | 4.701262 |
55
- | RestClient | 26.832668 |
41
+ | HTTP client | Time | Implementation |
42
+ | --------------------------| --------| -------------------- ---|
43
+ | curb (persistent) | 2.519 | libcurl wrapper |
44
+ | em-http-request | 2.731 | EM + http_parser.rb |
45
+ | Typhoeus | 2.851 | libcurl wrapper |
46
+ | StreamlyFFI (persistent) | 2.853 | libcurl wrapper |
47
+ | http.rb (persistent) | 2.970 | Ruby + http_parser.rb |
48
+ | http.rb | 3.588 | Ruby + http_parser.rb |
49
+ | HTTParty | 3.931 | Net::HTTP wrapper |
50
+ | Net::HTTP | 3.959 | Pure Ruby |
51
+ | Net::HTTP (persistent) | 4.043 | Pure Ruby |
52
+ | open-uri | 4.479 | Net::HTTP wrapper |
53
+ | Excon (persistent) | 4.618 | Pure Ruby |
54
+ | Excon | 4.701 | Pure Ruby |
55
+ | RestClient | 26.838 | Net::HTTP wrapper |
56
56
57
57
Benchmarks performed using excon's benchmarking tool
58
58
0 commit comments