frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsbenchmarks.com – Real-world JavaScript framework benchmarks

https://jsbenchmarks.com
2•harmtrav•2w ago

Comments

harmtrav•2w ago
I 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•2w ago
The 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•2w ago
Thanks for the PRs. Will update it soon.