4 ms·
What benchmark did you run where Node outperformed Bun? Happy to take a look. There are still "obvious" things we need to fix, like our EventEmitter implementa
by Jarred 4y ago
What benchmark did you run where Node outperformed Bun? Happy to take a look.
There are still "obvious" things we need to fix, like our EventEmitter implementation is currently around 3x slower than Node due to C++ <> JS callback overhead and several functions in node:crypto are still using JS-only polyfills intended for web browsers (instead of BoringSSL/OpenSSL).
- klabb3 4y ago> What benchmark did you run where Node outperformed Bun? It was a very similar SQLite bench but I may have done something wrong. > Happy to take a look. That’s ok but let me bait and switch you for this dead socket leak issue: https://github.com/oven-sh/bun/issues/1397 https://github.com/oven-sh/bun/issues/1397 In general, I’ve found that tons of projects suffer leaks. People don’t care about leaks :( (or alternative the tooling for discovering them kinda sucks)