5 ms·
That new HTTP server (Deno.serve) is being used Bun’s http server is single-threaded, single-process right now. I think it’s really important to get single-th
by Jarred 4y ago
That new HTTP server (Deno.serve) is being used
Bun’s http server is single-threaded, single-process right now. I think it’s really important to get single-threaded performance right before concurrency. Bun will eventually support builtin clustering/concurrency but it doesn’t yet
- akmittal 4y agoSo Deno benchmark says deno is faster and bun says bun is faster? Thats why I hate benchmark by package author/publisher.
- panzerboiler 4y agoIf you want to see which one is faster (kind of pointless since both bun and deno/flash are not production ready) test your own application, and not an "hello world" or a specific workload that has been optimized to win a specific benchmark.
- pier25 4y agoDeno is not production ready?
- panzerboiler 4y agoThe new fast webserver (flash) is still --unstable, hence not production ready. It has a performance comparable to nodejs+uWebSockets.js and bun (that should be using under the hood a slighly modified version of uWebSockets). edit: as a silly point of reference, an hello world that writes the same headers and the same body on a 2016 intel macbookpro is able to serve 125k rps in bun, 145k rps in deno/flash and 140k rps in nodejs+uws.