Skip to content

Commit b6d8370

Browse files
committed
Add implementation info to performance table
1 parent 8f85d95 commit b6d8370

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ Top three reasons:
3838
http.rb achieves the best performance of any Ruby HTTP library which
3939
implements the HTTP protocol in Ruby instead of C:
4040

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 |
5656

5757
Benchmarks performed using excon's benchmarking tool
5858

0 commit comments

Comments
 (0)