You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's good to hear! The Node native parser has been rewritten a couple times in the past 4 years, so should be faster at this point. Though, parsing a single, small HTTP request that arrives as a single packet is definitely where the a native parser will be most efficient anyway. As stated in the README, the primary purpose of this module now is for durability of the parser (handling non-conformant HTTP requests/responses), not performance.
http-parser-js
:Native Node.js:
Code:
It's
1.44x
slower than the native Node.js implementation. Tested on i7-7700k.The text was updated successfully, but these errors were encountered: