HttpArena
Frameworks

chi

Flagship · Go · engine: net/http · standard configuration · completeness 4/4

chi v5 router on the Go net/http server, default configuration. Routing and path parameters through the chi API, encoding/json for the response body, gzip through the chi middleware.Compress middleware.

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.136 of 712242

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,096476,3708.54ms154.90ms3644.2%237MiB
ConnectionPipelined4,0961,063,43045.21ms1.72s4034.7%390MiB
ConnectionShort-lived4,096162,00724.68ms261.50ms2111.8%65MiB
ConcurrencyAsync Delay32,000619,26751.19ms127.60ms5230.1%1.3GiB
EfficiencyLatency-10K1,0249,98289.7us126.0us70.5%91MiB
EfficiencyLatency-1M1,024416,4945823950.5us11563008.0us2927.7%112MiB
EfficiencyLatency-500K/81,024198,3536009506.0us11907072.0us712.8%66MiB
WorkloadJSON Comp4,096190,65921.20ms334.50ms5543.6%1.0GiB
WorkloadJSON Comp16,384193,44483.37ms328.20ms5691.4%1.4GiB
WorkloadJSON TLS4,096354,283106.39ms1.83s4879.0%344MiB
Workload8Gbit51249,107428.9us2421.0us1124.1%88MiB
WorkloadStatic TLS1,02427,784258.18ms2.00s5778.2%550MiB
DatabaseAsync DB1,02487,22211.63ms27.30ms3961.8%179MiB

Compared with

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

EntryCompositevs chi
fiber-tuned6462+188%head to head
echo2330+4%head to head
gin2301+3%head to head
go-stdlib1912-15%head to head
caddy828-63%head to head

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

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