3 ms·
React is also considerably slower than svelte in this benchmark in selecting, clearing, adding and creating rows and also uses a lot more memory. For a lot of
by cageface 2y ago
React is also considerably slower than svelte in this benchmark in selecting, clearing, adding and creating rows and also uses a lot more memory.
For a lot of apps React is fast enough but you're definitely starting at a non-negligible performance disadvantage compared to faster frameworks.
- solardev 2y agoI don't know that a 15 millisecond difference in rendering performance is going to matter to anyone =/ The memory usage is in megabytes too. It's not much. For sure React is slower on paper, but in most cases it's a non-issue. Nobody chooses React for its performance benefits anyway, but because of its huge ecosystem of libs and developers. In most cases it's fast enough.
- cageface 2y agoI agree that React is fast enough for a lot of things without worrying too much about performance. I've also worked on several apps where we had to work really really hard to get decent performance out of React and the resulting code was ugly and brittle.
- LtWorf 2y agoThe fact that it's fast enough on your 2000$ machine doesn't really tell us much.
- solardev 2y agoI was using the numbers from the benchmark, which wasn't my machine, and was sometimes throttled down.