DEV Community

Cover image for I built a new JS Benchmark... and Angular beats everyone?
Travis
Travis

Posted on

I built a new JS Benchmark... and Angular beats everyone?

I’ve been building JSBenchmarks, a new benchmarking tool heavily inspired by the famous js-frameworks-benchmark.

My goal was to create a suite that is easier to run locally and includes more thorough metrics—specifically complex sorting and deep filtering—which often trip up Virtual DOMs but aren't always covered in standard tests.

The Surprising Results

I ran the suite against the big players (React, Vue, Angular, Svelte, Solid), and the data surprised me:

Angular performed incredibly well. It handled the complex sorting tests better than almost anything else.

Svelte and Solid... struggled.

I (probably) messed up the implementations

I know Solid and Svelte are famous for their performance. If they are trailing behind Angular in these tests, the variable is likely my code, not the framework. I suspect I might be handling the reactivity or list reconciliation sub-optimally in those specific implementations.

Come prove me wrong

I didn't build this tool to declare a winner; I built it to get accurate data.

If you are a master of Svelte, Solid, or any other framework, I would love for you to check my code and submit a PR to fix the implementation. I want this benchmark to represent every framework at its absolute best.

Live Benchmark: https://jsbenchmarks.com/

The Repo (PRs Welcome): https://github.com/jsbenchmarks/jsbenchmarks

Let me know what you think of the metrics!

Top comments (0)