v0.19: add HTTP/1.1 spec compliance tests and benchmark #1499
Labels
No labels
UX
active development
backlog
blocker
bootstrap
bounty
bug
dependencies
discussion
documentation
duplicate
enhancement
flaky test
help wanted
invalid
javascript
question
release
tendentious
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mighty-gerbils/gerbil!1499
Loading…
Reference in a new issue
No description provided.
Delete branch "jay/gerbil:v0.19-http"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a Vegeta-powered HTTP server benchmark at
src/std/net/http/benchmarks/http-benchmark.ssand native HTTP/1.1 tests insrc/std/net/http/server/server-test.ss. The benchmark requires Vegeta and GNUtimeout; build/run instructions are in its source.Test results
43 cases: 29 passed, 14 failed, in both source and optimized execution.
Fixing the failing HTTP behavior is TODO in an upcoming PR.
Failing tests:
Expect: 100-continueprecedes body and final echo.Benchmark results
Linux, Ryzen 9 7940HS, Vegeta v12.13.0
Latencies in milliseconds.
AI-assisted with
gpt-6-astra.WIP: v0.19: add HTTP benchmark and h1spec toolsto WIP: v0.19: add HTTP/1.1 spec compliance tests and benchmarkWIP: v0.19: add HTTP/1.1 spec compliance tests and benchmarkto v0.19: add HTTP/1.1 spec compliance tests and benchmarkgreat work, thank you!
do you think it is worth strengthening the server checks to respond according to spec on client errors?
we can fix the failing parts in a separate pr, i am going to merge it as is.