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 Silver. 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
🥈 SilverWithin its languageRuby · HTTP/1.12 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.173 of 841109

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,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
EfficiencyLatency-500K/81,02445,3739079764.9us17965056.0us735.3%766MiB
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
DatabaseAsync DB1,024114,4728.27ms28.30ms6344.2%4.9GiB

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-mruby3213+190%head to head
rage1415+28%head to head
roda1022-8%head to head
rack-iodine1010-9%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