HttpArena
Frameworks

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 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.161 of 711148

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,09656,91060.48ms218.70ms3861.7%4.7GiB
ConnectionPipelined4,096478,396119.57ms272.00ms6463.3%2.1GiB
ConnectionShort-lived4,09640,75590.00ms186.30ms3167.7%4.3GiB
ConcurrencyAsync Delay32,00017,803612.77ms4.12s601.6%4.6GiB
EfficiencyLatency-10K1,0249,982253.4us825.0us232.2%4.3GiB
EfficiencyLatency-1M1,024285,1667045096.4us15052800.0us6178.4%7.2GiB
EfficiencyLatency-500K/81,02447,2239030112.2us17833984.0us774.5%1.1GiB
WorkloadJSON Comp4,096127,18829.21ms90.60ms6314.3%4.6GiB
WorkloadJSON Comp16,384125,27874.78ms265.80ms6469.2%4.8GiB
WorkloadJSON TLS4,096190,16621.48ms193.08ms6411.9%6.9GiB
Workload8Gbit51249,383394.0us1419.0us1588.8%6.8GiB
WorkloadStatic TLS1,02421,78947.18ms253.86ms6510.7%6.9GiB
DatabaseAsync DB1,024109,1368.70ms21.40ms6222.2%3.2GiB

Compared with

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

EntryCompositevs sinatra
h2o-mruby3350+192%head to head
roda1305+14%head to head
rage1257+10%head to head
rack-iodine1042-9%head to head
rack-falcon783-32%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