News for hackers. Stuff that matters.
Re:Show HN: Jsbenchmarks.com – Real-world JavaScript framewo... by harmtrav on Friday January 23, 2026 @10:55AM (#46733976)
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.

Re:Show HN: Jsbenchmarks.com – Real-world JavaScript framewo... by rich_harris on Friday January 23, 2026 @12:09PM (#46734928)
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.

Re:Show HN: Jsbenchmarks.com – Real-world JavaScript framewo... by harmtrav on Friday January 23, 2026 @12:33PM (#46735222)
Thanks for the PRs. Will update it soon.