19 ms·
nextjs being 4 times slower latency wise than plain react or even vanilla js is pretty funny
by nisten 11mo ago
nextjs being 4 times slower latency wise than plain react or even vanilla js is pretty funny
- kentonv 11mo agoThe benchmark cases are not comparable to each other. Each does totally different work. They are only meant to compare hosting providers.
- kentonv 11mo agoCorrection: 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 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.
- auxiliarymoose 11mo agoKeep 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-76rZasr0ykMZZol57apKp9g https://youtube.com/clip/UgkxvcydgHKf-76rZasr0ykMZZol57apKp9...
- zeroq 11mo agonextjs 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.