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.

Achievements

🥈 1 Silver. 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
🥈 SilverTest profileEfficiency · Latency-10K2 of 74

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.143 of 742207
HTTP/218 of 21280

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,096495,5928.26ms101.60ms3766.9%204MiB
ConnectionPipelined4,0961,140,95742.39ms1.70s4213.6%314MiB
ConnectionShort-lived4,096167,03723.97ms263.30ms2189.8%64MiB
ConcurrencyAsync Delay32,000688,87645.89ms130.00ms5546.9%1.3GiB
EfficiencyLatency-10K1,0249,98390.9us127.0us77.1%79MiB
EfficiencyLatency-1M1,024431,2505708318.5us11243520.0us3085.1%110MiB
EfficiencyLatency-500K/81,024195,5386071310.4us12021760.0us753.8%53MiB
WorkloadJSON Comp4,096180,30222.50ms161.70ms5695.0%729MiB
WorkloadJSON Comp16,384180,76988.97ms339.70ms5579.1%1.6GiB
WorkloadJSON TLS4,096363,365127.43ms1.92s4590.0%319MiB
Workload8Gbit51249,105433.4us2115.0us1340.4%86MiB
WorkloadStatic TLS1,02422,687321.60ms1.94s5832.5%631MiB
DatabaseAsync DB1,02496,51410.46ms24.00ms4149.4%182MiB
HTTP/2Baseline256545,43045.78ms604.29ms4963.1%358MiB
HTTP/2Baseline1,024527,471147.02ms4.29s4891.9%1.0GiB
HTTP/2Static256---4617.1%2.6GiB
HTTP/2Static1,024---6101.1%10.9GiB
HTTP/2Baseline (h2c)256532,98247.17ms760.29ms5115.3%348MiB
HTTP/2Baseline (h2c)1,024537,307150.10ms3.88s4977.5%1.0GiB
HTTP/2Baseline (h2c)4,096443,539470.92ms4.90s3977.8%2.4GiB
HTTP/2JSON (h2c)1,024329,57692.81ms3.41s5197.1%731MiB
HTTP/2JSON (h2c)4,096327,083298.02ms4.77s5314.2%1.6GiB

Compared with

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

EntryCompositevs zinc
fib-tuned7429+237%head to head
gin2264+3%head to head
chi2207+0%head to head
go-stdlib1884-15%head to head
caddy683-69%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