50 ms·
Yes. I don't know where this obsession over making JS fast comes from, considering most web applications are http glue code to a database server and spend most
by tarruda 3y ago
Yes. I don't know where this obsession over making JS fast comes from, considering most web applications are http glue code to a database server and spend most of time waiting on I/O
Biggest selling point of Bun is the potential it has to empty my node modules directory and free my mind of worries about supply chain attacks.
- silverwind 3y agoTrue, these benchmarks are mostly worthless because any non-trivial application will bottleneck at things like databases, not the http framework. In my experience, even with a fast database like redis, one is unlikely to achieve more than like 5k req/sec per process in node.
- DanielHB 3y agothe perf improvements in the basic libraries help with reducing latency which shouldn't be scoffed at
- tarruda 3y agoNot scoffing, performance is nice to have. I really like how Bun replaces all development tools, is much faster for package management and bundling. The fast startup is also a bonus and means it could be used for writing command line tools. However, as a server side runtime it doesn't matter much because the time spent on those libraries is minimal in compared to the time spent waiting for I/O