HttpArena
Frameworks

sober

Experimental · Sober · engine: std/http · standard configuration · completeness 4/4

Sober's standard library HTTP/1.1 server (std/http on std/net, TLS 1.3 from std/tls), default configuration. One task per connection, io_uring with an acceptor per worker (epoll fallback). Routes are a plain table ([]http.Route with method, :param / *rest patterns, Mount / Merge, before / after middleware), JSON through std/json, gzip through the built-in compress: option of the server. Static ELF with no libc, FROM scratch.

Achievements

🥇 1 Gold. 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
🥇 GoldTest profileEfficiency · Latency-10K1 of 9

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.16 of 114873

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,0963,288,4481.25ms1.90ms6478.2%444MiB
ConnectionPipelined4,09628,546,1762.30ms3.22ms6547.1%336MiB
ConnectionShort-lived4,096290,10714.01ms125.00ms3395.8%668MiB
ConcurrencyAsync Delay32,0001,926,60014.52ms16.50ms5558.2%1.9GiB
EfficiencyLatency-10K1,0249,98367.7us104.0us24.0%253MiB
EfficiencyLatency-1M1,024997,493768.9us4718.0us3782.5%254MiB
EfficiencyLatency-500K/81,024382,5892256684.4us5982208.0us748.4%110MiB
WorkloadJSON Comp4,096299,96213.69ms27.10ms6469.5%1.3GiB
WorkloadJSON Comp16,384277,20558.50ms635.00ms5651.0%3.6GiB
WorkloadJSON TLS4,096819,3844.96ms271.68ms6600.7%1.5GiB
Workload8Gbit51248,98092.1us124.0us252.3%414MiB

Compare sober with any entry, in any language · Every Sober entry, ranked

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