3 ms·
They do, but I think the OP didn’t use Bun's native serve methods and instead used the same code for both Node and Bun, hence the subpar performance.
by M4v3R 3y ago
They do, but I think the OP didn’t use Bun's native serve methods and instead used the same code for both Node and Bun, hence the subpar performance.
- littlestymaar 3y ago> and instead used the same code for both Node and Bun Wait, wasn't that the point of bun in the first place?!
- lionkor 3y agoAs I understand the Node code here is specific to Node, so running it on Bun is slow. If they'd used the "native" http server it would be better I think