You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.**Upgrade to Ruby 3.4.4**: Clear performance benefits across all scenarios
1025
1025
2.**Use Persistent Connections**: 2x+ performance improvement in most cases
1026
1026
3.**HTTP.rb Performance**: Particularly benefits from Ruby 3.4.4 with persistent connections
1027
1027
4.**SerpApi Optimization**: Shows consistent ~2.2x improvement with persistent connections regardless of Ruby version
1028
+
5.**Ruby 4.0.0 Performance**: Shows mixed results with some regressions compared to 3.4.4, particularly for HTTP.rb persistent connections. Ruby 4.0.0 was just released for Christmas 2025, and HTTP.rb has not been optimized for it yet.
1028
1029
1029
1030
The older library (google-search-results-ruby) was performing at 55 req/s on Ruby 2.7.8, which is 2x slower than the current version (serpapi-ruby) on Ruby 3.4.4.
1. **Upgrade to Ruby 3.4.4**: Clear performance benefits across all scenarios
506
506
2. **Use Persistent Connections**: 2x+ performance improvement in most cases
507
507
3. **HTTP.rb Performance**: Particularly benefits from Ruby 3.4.4 with persistent connections
508
508
4. **SerpApi Optimization**: Shows consistent ~2.2x improvement with persistent connections regardless of Ruby version
509
+
5. **Ruby 4.0.0 Performance**: Shows mixed results with some regressions compared to 3.4.4, particularly for HTTP.rb persistent connections. Ruby 4.0.0 was just released for Christmas 2025, and HTTP.rb has not been optimized for it yet.
509
510
510
511
The older library (google-search-results-ruby) was performing at 55 req/s on Ruby 2.7.8, which is 2x slower than the current version (serpapi-ruby) on Ruby 3.4.4.
0 commit comments