HttpArena
Frameworks

zinc

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

Zinc on the Go net/http server, default configuration. Routing and path/query values through the Zinc API, encoding/json via c.JSON, JSON bodies through c.Bind().JSON, gzip through the Zinc compress middleware.

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.154 of 851939
HTTP/227 of 31237

Every result

Alpha Round, 22 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096484,0968.46ms77.00ms3647.3%205MiB
ConnectionPipelined4,0961,105,27442.74ms2.15s4343.2%439MiB
ConnectionShort-lived4,096171,08023.50ms254.90ms2205.8%66MiB
ConcurrencyAsync Delay32,000669,49247.34ms133.80ms5493.1%1.3GiB
EfficiencyLatency-10K1,0249,97992.8us124.0us78.2%79MiB
EfficiencyLatency-1M1,024427,4895685956.1us11317248.0us3039.7%96MiB
EfficiencyLatency-500K/81,024195,4456079223.0us12021760.0us753.2%56MiB
WorkloadJSON Comp4,096179,47722.76ms112.20ms5704.5%949MiB
WorkloadJSON Comp16,384180,66188.52ms310.60ms5746.6%1.1GiB
WorkloadJSON TLS4,096358,255117.34ms1.93s4990.2%316MiB
Workload8Gbit51249,094609.9us3631.0us1411.8%100MiB
WorkloadStatic TLS1,02422,733326.89ms1.90s5865.9%539MiB
DatabaseAsync DB1,02496,66710.46ms24.20ms4131.9%184MiB
HTTP/2Baseline256532,66745.00ms923.91ms4936.7%362MiB
HTTP/2Baseline1,024515,929147.88ms4.61s4591.1%1.1GiB
HTTP/2Static256---4617.1%2.6GiB
HTTP/2Static1,024---6101.1%10.9GiB
HTTP/2Baseline (h2c)256522,91847.53ms669.28ms5043.9%356MiB
HTTP/2Baseline (h2c)1,024523,050158.62ms3.73s4838.2%1.0GiB
HTTP/2Baseline (h2c)4,096434,860551.78ms4.99s4148.1%2.3GiB
HTTP/2JSON (h2c)1,024337,32183.99ms4.08s5634.4%752MiB
HTTP/2JSON (h2c)4,096328,686224.34ms4.77s5521.5%1.4GiB

Compared with

The Go web frameworks around zinc 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 zinc
fiber-tuned5859+202%head to head
go-stdlib2026+5%head to head
chi2021+4%head to head

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

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