FrameworkBenchmarks
FrameworkBenchmarks copied to clipboard
[ruby/rack] Hardcode Puma to 5 threads
This should also improve the performance of JRuby where previously the threads were hardcoded to 512:
| branch_name | json | db | query | update | fortune | plaintext |
|---|---|---|---|---|---|---|
| master | 15415 | 14528 | 12212 | 11690 | 13936 | 144433 |
| threads = processors | 30345 | 45011 | 32726 | 22101 | 39920 | 112966 |
| rack/puma-max-threads | 29204 | 50077 | 45459 | 25358 | 41560 | 117562 |