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 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.167 of 71626

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,09644,39380.39ms180.80ms3968.7%3.0GiB
ConnectionPipelined4,096632,63087.82ms191.10ms6622.4%2.2GiB
ConnectionShort-lived4,09636,095101.10ms226.90ms3471.0%2.9GiB
ConcurrencyAsync Delay32,00023,738606.72ms5.00s642.6%5.9GiB
EfficiencyLatency-10K1,0249,982461.6us1233.0us412.6%2.6GiB
EfficiencyLatency-1M1,024145,3088440804.2us17244160.0us5875.3%2.9GiB
EfficiencyLatency-500K/81,02421,0229546962.4us18931712.0us810.5%537MiB
WorkloadJSON Comp4,09684,64842.61ms76.70ms6491.2%3.5GiB
WorkloadJSON Comp16,38483,606136.59ms1.01s6494.7%3.8GiB
WorkloadJSON TLS4,096115,35434.53ms167.39ms6456.0%4.9GiB
Workload8Gbit51249,285980.5us7890.0us2806.1%4.9GiB

Compared with

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

EntryCompositevs hanami
h2o-mruby3350+435%head to head
rack-falcon783+25%head to head
rails640+2%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