π₯ srvx.h3.dev is close to 96.98% of node:http performance. β Web standard servers on Node.js at no cost
2 reposts29 likes
π₯ srvx.h3.dev is close to 96.98% of node:http performance. β Web standard servers on Node.js at no cost
2 reposts29 likes
AKA, node.js is really fast, fast enough for nearly all use cases, but could be faster. And so to split hairs on web streams/requests/etc vs @nodeland.devβs work, at this point is not widely understood.
github.com/h3js/srvx/tr... Benchs are farily simple. We also cheat somehow by adding fast path for response and a two way proxy of interfaces β pretty surre could be much better done natively in Node!
If I understood correctly, your benchmark is using FastResponse and not the default Response object, right? Whatβs the gap with using Response? Would you mind sending a srvx-fast bench to github.com/fastify/benc...?
Mainly avoiding stream wrap and unwraping. I will check benchs soon! github.com/h3js/srvx/bl...