Skip to content

Commit f840867

Browse files
committed
Update performance comparison to inclue Ruby 4.0.0 metrics
1 parent 3533276 commit f840867

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,12 +1013,12 @@ see: [https://serpapi.com/yelp-search-api](https://serpapi.com/yelp-search-api)
10131013

10141014
### Ruby 3.4.4 vs Ruby 2.7.8 Performance
10151015

1016-
| Metric | Ruby 2.7.8 | Ruby 3.4.4 | Improvement |
1017-
|--------|------------|------------|-------------|
1018-
| **SerpApi Non-Persistent** | 100.93 req/s | 114.97 req/s | **+13.9%** |
1019-
| **SerpApi Persistent** | 226.82 req/s | 255.07 req/s | **+12.4%** |
1020-
| **HTTP.rb Non-Persistent** | 270.62 req/s | 294.01 req/s | **+8.6%** |
1021-
| **HTTP.rb Persistent** | 347.04 req/s | 570.95 req/s | **+64.5%** |
1016+
| Metric | Ruby 2.7.8 | Ruby 3.4.4 | Ruby 4.0.0 | Improvement (3.4.4 vs 2.7.8) |
1017+
|--------|------------|------------|------------|------------------------------|
1018+
| **SerpApi Non-Persistent** | 100.93 req/s | 114.97 req/s | 120.09 req/s | **+13.9%** |
1019+
| **SerpApi Persistent** | 226.82 req/s | 255.07 req/s | 296.05 req/s | **+12.4%** |
1020+
| **HTTP.rb Non-Persistent** | 270.62 req/s | 294.01 req/s | 319.81 req/s | **+8.6%** |
1021+
| **HTTP.rb Persistent** | 347.04 req/s | 570.95 req/s | 456.93 req/s | **+64.5%** |
10221022

10231023
### Key Takeaways
10241024
1. **Upgrade to Ruby 3.4.4**: Clear performance benefits across all scenarios

README.md.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -494,12 +494,12 @@ see: [https://serpapi.com/yelp-search-api](https://serpapi.com/yelp-search-api)
494494

495495
### Ruby 3.4.4 vs Ruby 2.7.8 Performance
496496

497-
| Metric | Ruby 2.7.8 | Ruby 3.4.4 | Improvement |
498-
|--------|------------|------------|-------------|
499-
| **SerpApi Non-Persistent** | 100.93 req/s | 114.97 req/s | **+13.9%** |
500-
| **SerpApi Persistent** | 226.82 req/s | 255.07 req/s | **+12.4%** |
501-
| **HTTP.rb Non-Persistent** | 270.62 req/s | 294.01 req/s | **+8.6%** |
502-
| **HTTP.rb Persistent** | 347.04 req/s | 570.95 req/s | **+64.5%** |
497+
| Metric | Ruby 2.7.8 | Ruby 3.4.4 | Ruby 4.0.0 | Improvement (3.4.4 vs 2.7.8) |
498+
|--------|------------|------------|------------|------------------------------|
499+
| **SerpApi Non-Persistent** | 100.93 req/s | 114.97 req/s | 120.09 req/s | **+13.9%** |
500+
| **SerpApi Persistent** | 226.82 req/s | 255.07 req/s | 296.05 req/s | **+12.4%** |
501+
| **HTTP.rb Non-Persistent** | 270.62 req/s | 294.01 req/s | 319.81 req/s | **+8.6%** |
502+
| **HTTP.rb Persistent** | 347.04 req/s | 570.95 req/s | 456.93 req/s | **+64.5%** |
503503

504504
### Key Takeaways
505505
1. **Upgrade to Ruby 3.4.4**: Clear performance benefits across all scenarios

0 commit comments

Comments
 (0)