HttpArena

sinatra

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

Sinatra DSL web framework on Puma, multi-threaded with one worker per CPU core.

Achievements

🥉 1 Bronze. 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
🥉 BronzeWithin its languageRuby · HTTP/1.13 of 5

Composite rank

Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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.179 of 88713

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096302,60211.98ms40.90ms5987.0%5.3GiB
ConnectionPipelined4,096465,048116.10ms561.90ms6447.2%3.6GiB
ConnectionShort-lived4,096290,9227.91ms37.90ms6402.4%5.2GiB
ConcurrencyAsync Delay32,00048,251215.69ms1.04s1759.6%4.4GiB
EfficiencyLatency-10K1,0249,982257.7us803.0us235.4%3.6GiB
EfficiencyLatency-1M1,024267,4577280601.9us14798848.0us5866.7%5.1GiB
WorkloadJSON Comp4,096120,15729.93ms69.70ms6331.6%3.0GiB
WorkloadJSON Comp16,384119,40878.68ms315.90ms6157.4%3.3GiB
WorkloadJSON TLS4,096176,33022.42ms85.85ms6166.7%5.4GiB
Workload8Gbit51249,383544.1us8086.0us1602.9%4.3GiB
WorkloadStatic TLS1,02421,48747.70ms218.27ms6467.9%3.5GiB

Compared with

The Ruby web frameworks around sinatra on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

EntryCompositevs sinatra
h2o-mruby2293+221%head to head
rage938+31%head to head
roda798+12%head to head
hanami425-40%head to head
rails394-45%head to head

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

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