Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)?


maybe 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...


One optimization he made is inlining jsx createElement calls


Gaming 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: