HttpArena
Frameworks

rails

Flagship · Ruby · engine: puma · standard configuration · completeness 4/4

Ruby on Rails (API mode) on Puma, multi-worker with one worker per CPU core.

Achievements

🥇 1 Gold. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldTest profileEfficiency · Latency-10K1 of 71

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.166 of 71640

Every result

Alpha Round, 12 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,09633,77499.84ms336.70ms5091.3%7.6GiB
ConnectionPipelined4,096305,304190.53ms296.70ms6407.2%2.5GiB
ConnectionShort-lived4,09627,567133.49ms300.30ms4670.8%6.5GiB
ConcurrencyAsync Delay32,00016,625598.97ms3.41s1107.4%4.3GiB
EfficiencyLatency-10K1,0249,984487.8us1714.0us432.8%4.0GiB
EfficiencyLatency-1M1,024160,4078385653.6us16683008.0us6310.0%5.1GiB
EfficiencyLatency-500K/81,02422,9849534299.6us18849792.0us816.1%875MiB
WorkloadJSON Comp4,09682,83644.59ms106.20ms6425.1%4.0GiB
WorkloadJSON Comp16,38483,309114.75ms583.90ms6174.3%4.4GiB
WorkloadJSON TLS4,096114,89135.44ms224.97ms6405.1%5.3GiB
Workload8Gbit51249,3071003.5us6738.0us2872.4%5.5GiB
DatabaseAsync DB1,02472,97613.37ms30.40ms6366.2%3.6GiB

Compared with

The Ruby entries around rails on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs rails
h2o-mruby3350+424%head to head
rack-iodine1042+63%head to head
rack-falcon783+22%head to head
hanami626-2%head to head

Compare rails with any Ruby entry · Compare rails with any entry, in any language · Every Ruby entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry