SSR Performance (SolidJS vs Next)
I ran a simple
wrk
benchmark on a project initialized with npm init solid
and npx create-next-app@13
and found the following numbers. The Next.js front page is 3.11 kB in size and the one from solid is only 1.78 kB. Both projects were started using npm start
.
7 Replies
Next: 5,557 req/s, 17.71 MB/s
SolidJS: ~2,373 req/s, 4.45 MB/s
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It's just the starter template from both
solid start
and next
Those are the commands used in the screen cast if you want to give this a try yourself:
SolidStart
NEXT
@ryansolid I'm heading towards horizontal body positioning. I've documented the way I ran the benchmarks. Hope that helps.
Ok yeah that's great. I haven't run benchmarks recently I admit, we were doing a ton around the time that the builder team was working on them. But that was a while back. I found bottlenecks around undici. But never anything to put Solid out of similar range as SvelteKit and not in Next territory. Definitely want to check this out.