-
Notifications
You must be signed in to change notification settings - Fork 1
feat(bench): add std.http.HeadParser to benchmarks #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bench): add std.http.HeadParser to benchmarks #2
Conversation
|
Interesting find, the normal benchmarks also perform worse on Apple Silicon. I was using an AMD64 Linux machine while developing/testing the module. Let's keep this PR open; I'll try to figure out why it performs worse on such platforms. (#3) |
|
I finally obtained a proper linux machine: But benchmark results are still in favor of |
|
I think the comparison between HTTP parser libraries and Its also worth noting that |
It is. I don't know how I missed, that HeadParser just counts bytes and not parsing actual data. |
std.http.HeadParseris good baseline to bench with – but I have no ideas, why hyperbench shows this results:Maybe because I'm running on M3 and some vectorization are not available on my CPU.