HttpArena
Frameworks

hanami

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

Hanami 2.3 actions and router on Puma, one worker per core. Routing and params through the Hanami API, JSON generated per request, gzip through Rack::Deflater.

Composite rank

Each profile of a family is worth 1,000 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.179 of 85693

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,096160,68522.25ms70.70ms6065.0%5.5GiB
ConnectionPipelined4,096640,08536.06ms1.25s6394.5%4.6GiB
ConnectionShort-lived4,096154,73611.37ms70.70ms6396.8%4.9GiB
ConcurrencyAsync Delay32,00024,376466.00ms2.29s888.1%4.1GiB
EfficiencyLatency-10K1,0249,977472.0us1159.0us421.6%3.7GiB
EfficiencyLatency-1M1,024160,3058288243.4us16732160.0us6121.1%5.5GiB
EfficiencyLatency-500K/81,02423,5569501648.4us18817024.0us744.0%850MiB
WorkloadJSON Comp4,09689,12037.09ms87.00ms6487.5%3.4GiB
WorkloadJSON Comp16,38488,40846.43ms108.50ms6202.4%3.4GiB
WorkloadJSON TLS4,096118,80332.00ms105.27ms6283.9%5.2GiB
Workload8Gbit51249,2701303.6us16888.0us3065.7%4.9GiB

Compared with

The Ruby web frameworks around hanami 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 hanami
h2o-mruby3133+352%head to head
roda1242+79%head to head
sinatra1102+59%head to head
rails631-9%head to head

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

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