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

nextjs being 4 times slower latency wise than plain react or even vanilla js is pretty funny


The benchmark cases are not comparable to each other. Each does totally different work. They are only meant to compare hosting providers.


Correction: The author of the SvelteKit benchmark says it is designed to do the same work as the Next.js one: https://x.com/bmdavis419/status/1978242304432325041

But the "vanilla" benchmark generates some 3x as much HTML and the react one generates half, so they aren't comparable.


Keep in mind that Theo said the Vanilla benchmark was running too fast so he made it "way way slower" so 4x is not representative of a direct comparison

https://youtube.com/clip/UgkxvcydgHKf-76rZasr0ykMZZol57apKp9...


nextjs is spring of the web, it optimizes productivity rather than app speed.

and whether you are more productive with it or not is completely up to you.




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

Search: