6 ms·
I'm puzzled by the title of this post. From what I can gather most, if not all, of the performance improvements came from sacking SQLite and Zod. They applied
by fleebee 5mo ago
I'm puzzled by the title of this post. From what I can gather most, if not all, of the performance improvements came from sacking SQLite and Zod.
They applied optimizations that cut CPU time by ~40% to the Bun version before comparing it with Node. Claiming 5x throughput from "replacing Node.js with Bun" is a wild misrepresentation of the findings.
- LaSombra 5mo agoDon’t let facts get in the way of a catchy headline
- mannycalavera42 5mo ago:love
- whizzter 5mo agoAnd they include "phase 3 opts" in the phase2 benchmark, so the move to Bun also includes improvements from removing "safeParse". So Node might've been at more than 40% of the performance. It's sad since these kinds of numbers are interesting, but when there's blatant misrepresentations it just create a stink.