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.