ssr-benchmark icon indicating copy to clipboard operation
ssr-benchmark copied to clipboard

Added preact

Open eser opened this issue 10 months ago • 1 comments

Since preact doesn't support streaming renders, I hesitated to implement this one considering it's very primitive comparing to React's streaming SSR. So I wouldn't care if you close the PR without merging it.

image

eser avatar Apr 11 '24 04:04 eser

It doesn't look like the benchmark is using Suspense so I don't think streaming yes or no should make that much of a difference. That being said we did have a preliminary implementation of streaming in preact-render-to-string 😅 would love to see this land in general. According to the README there are others that don't use streaming so I do think it's fair to land this!

As this repository seems central to React (originating from the next discussion) it might be good to show that we are 2x faster and keep React as the baseline.

JoviDeCroock avatar Apr 12 '24 02:04 JoviDeCroock