3 ms·
The benchmark numbers for React server-side rendering are really impressive. How does bun manage to be so much faster, especially considering that React SSR is
by mwcampbell 4y ago
The benchmark numbers for React server-side rendering are really impressive. How does bun manage to be so much faster, especially considering that React SSR is actually fairly compute-intensive (building up a DOM tree and all)?
- leeoniya 4y agomaybe it's bottlenecked on Node's built-in http module, there are projects like uWebSockets.js (and hyper-express [1] built on top of it) [1] which show a 10x increase in throughput. [1] https://github.com/kartikk221/hyper-express/blob/master/docs/Benchmarks.md https://github.com/kartikk221/hyper-express/blob/master/docs...
- mhh__ 4y agoGaming benchmarks is pretty easy if you have a very repetitive task. A good compiler developer should be able to make his or her compiler best everyone else one one benchmark
- remorses 4y agoOne optimization he made is inlining jsx createElement calls