HttpArena
Frameworks

go-stdlib

Flagship · Go · engine: net/http · tuned configuration · completeness 2/4

The Go standard library net/http server with no framework, default configuration. Routing through the ServeMux method and wildcard patterns of Go 1.22, JSON through encoding/json, gzip written by hand with compress/gzip because the standard library ships no compression 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 93

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.157 of 931912

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096504,5988.14ms60.80ms3558.0%201MiB
ConnectionPipelined4,0961,180,56841.06ms1.86s4011.6%399MiB
ConnectionShort-lived4,096169,37723.69ms246.60ms2147.9%65MiB
EfficiencyLatency-10K1,0249,98386.3us116.0us71.6%85MiB
EfficiencyLatency-1M1,024455,8475423352.2us10760192.0us3011.7%98MiB
EfficiencyLatency-500K/81,024213,5315712563.4us11309056.0us757.2%55MiB
WorkloadJSON Comp4,096192,57821.18ms188.80ms5581.6%722MiB
WorkloadJSON Comp16,384193,77182.77ms245.10ms5635.0%1.5GiB
WorkloadJSON TLS4,096369,09386.65ms1.89s4755.9%312MiB
Workload8Gbit51248,986388.4us2321.0us1104.3%87MiB
WorkloadStatic TLS1,024150,05621.49ms370.15ms3596.3%176MiB
DatabaseAsync DB1,02486,29611.68ms27.10ms3976.8%178MiB

Compared with

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

EntryCompositevs go-stdlib
fiber-tuned6462+238%head to head
gin2301+20%head to head
chi2242+17%head to head
caddy828-57%head to head

Compare go-stdlib with any Go entry · Compare go-stdlib with any entry, in any language · Every Go entry, ranked

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