4 ms·
Show HN: Jsbenchmarks.com – Real-world JavaScript framework benchmarks
- harmtrav 8mo agoI built this as an alternative to js-framework-benchmark because those benchmarks are easy to game with framework-specific optimizations. jsbenchmarks.com is an attempt to focus on real-world patterns: mixed updates, typical DOM complexity, and common operations. The results surprised me: Angular performs best, while Solid and Svelte (which dominate traditional benchmarks) are near the bottom. I'm sure the Solid and Svelte implementations could be improved and I welcome PRs. Would love feedback on the methodology and what other scenarios to test.
- rich_harris 8mo agoThe Svelte implementation is very inefficient. With a small change I was able to get it to the number two spot on both duration and memory, at least running on this machine. Thyn is in the top spot on both counts — not _hugely_ surprising for a brand new project, but impressive nonetheless. React, needless to say, languishes at the bottom. Will send a PR to fix the Svelte implementation.
- harmtrav 8mo agoThanks for the PRs. Will update it soon.