Repository navigation
docs: framework benchmark report — arvik vs axum vs actix-web - #27
Merged
Merged
Conversation
Full benchmark comparison on identical workloads (Hello-World handler, CORS + tracing middleware stack, loopback, release builds) using wrk, hey, and ab. Headline results for arvik @ main (351b057, post-audit + fast-path gate): - With middleware: 239k req/s (#1) — ahead of actix-web (234k) and axum (188k); lowest middleware overhead of all three (-6.3% vs -15.1% / -20.2%) - Without middleware: 255k req/s with the best p99 (3.44 ms) - hey sweep: #1 in both modes (~105k req/s), lowest p95 - Most consistent framework across tools and modes Includes methodology, per-tool tables with latency percentiles, middleware-overhead comparison, reproduction steps, and the pre-optimization baseline appendix documenting the impact of the TraceLayer span-construction gate. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
BENCHMARK_REPORT.md: a full comparison of arvik (post-audit main, incl. the TraceLayer fast-path gate) against axum 0.8 and actix-web 4 on identical workloads, measured with wrk, hey (Go), and ab.Headline numbers (wrk 4t/256c/10s)
The report documents methodology, middleware-stack equivalence, per-tool tables with latency percentiles, reproduction steps, and keeps the pre-optimization baseline as an appendix for transparency.
Type of Change