HttpArena
Frameworks

caddy

Infrastructure · Go

Caddy with custom Go handler modules compiled in via xcaddy: httparena for /baseline11 and /baseline2, httparena_json for /json/{count}, serializing the JSON body per request from the dataset read at provision time. Native file_server for /static. HTTP/1.1 on :8080, h1 over TLS on :8081, h2 and h3 on :8443.

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
🥉 BronzeTest profileHTTP/2 · Baseline3 of 4

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.14 of 5828
HTTP/24 of 4168
HTTP/32 of 2136

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,096431,8949.34ms113.50ms5347.6%249MiB
ConnectionPipelined4,096761,13760.67ms1.75s4439.1%367MiB
ConnectionShort-lived4,096237,68917.01ms175.70ms3598.2%80MiB
WorkloadJSON TLS4,096321,964172.89ms1.99s5273.1%503MiB
WorkloadStatic TLS1,024159,17765.68ms1.17s5654.9%166MiB
HTTP/2Baseline256374,79366.05ms856.18ms5204.7%446MiB
HTTP/2Baseline1,024403,024173.96ms4.36s5502.0%1.5GiB
HTTP/2Static256116,37166.61ms2.99s6180.1%932MiB
HTTP/2Static1,024113,428195.18ms4.80s6198.0%2.3GiB
HTTP/3Baseline64360,5119.90ms34.00ms3328.0%177MiB
HTTP/3Static6422,218181.56ms917.62ms896.7%617MiB

Compared with

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

EntryCompositevs caddy
fiber-tuned6462+680%head to head
chi2242+171%head to head
go-stdlib1912+131%head to head

Compare caddy with any Go entry · Compare caddy with any entry, in any language · Every Go entry, ranked

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