js-framework-benchmark
mikado
Our great sponsors
js-framework-benchmark | mikado | |
---|---|---|
64 | 4 | |
6,468 | 739 | |
- | 4.1% | |
9.8 | 9.1 | |
5 days ago | 3 months ago | |
JavaScript | JavaScript | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
js-framework-benchmark
-
Popularity is not Efficiency: Solid.js vs React.js
JavaScript benchmarks are instruments for measuring the speed and effectiveness with which a JavaScript engine—such as the ones found in web browsers—can complete particular tasks. Benchmarks are used by developers and browser vendors to evaluate various engines, find places in the code where improvements are needed, and make sure JavaScript standards are being followed.
-
Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
Strange then that frameworks advertise how fast they are at rendering, mutating, and creating objects in the DOM, and one of the main JS benchmarks everyone likes to measure their performance by is literally a benchmark about DOM manipulation: https://github.com/krausest/js-framework-benchmark
Oh wait. It's not strange. Because state manipulation is a largely solved problem, and even the least performant state manipulation is blazingly fast. However, presenting components in the browser's DOM is tens of magnitudes of orders less performant than anything you can throw at state manipulation.
And every single framework is busy solving one single problem: how do we touch the DOM as little as possible?
- JavaScript-Framework-Benchmark
- GitHub - krausest/js-framework-benchmark: A comparison of the performance of a few popular javascript frameworks
- JavaScript Framework Benchmark
- Vue 3 now outperforms Svelte and React
-
Vue 3 is currently performing better than Svelte and React
It literally says at the bottom "Data from https://krausest.github.io/js-framework-benchmark/"
- Cample.js benchmark reactivity without VDOM
- Rust é uma linguagem que embora tenha uma curva de conhecimento considerável, entrega vários benefícios como segurança e produtividade, reduzindo consideravelmente a verbosidade
-
Imperative - 1.5kb React alternative using Generators
The standard benchmark for js frameworks would be best: https://github.com/krausest/js-framework-benchmark
mikado
- Mikado v0.8 has just published the fastest middleware render engine for Express
-
Alpine.js
Yet another JS framework. How fast is it really? The learning curve may not be worth it if it's slower than https://www.solidjs.com/ and according to https://krausest.github.io/js-framework-benchmark/current.ht... few things are faster than a very little-known framework called Mikado (https://github.com/nextapps-de/mikado). That being said, I would never sacrifice performance of my software for how trendy or popular something is, e.g. React is #1 in popularity yet it's overcomplicated, massive, slow as hell.
-
A Rust server / frontend setup like it's 2022 (with axum and yew)
If I do need client-side data-binding, then I'll probably just go for something like https://github.com/nextapps-de/mikado instead, which is the best-performing option on the benchmarks as I remember.
-
Solid vs React - the Fastest VS the Most Popular UI Library
Now, it’s worth noting that aside from Solid, there are 2 faster “UI frameworks” included in the benchmark but not on the table above. These are Mikado (actually a template engine) and doohtml (marked with a note about using manual DOM manipulation), so the point still stands - Solid is the fastest JS UI library!
What are some alternatives?
sycamore - A library for creating reactive web apps in Rust and WebAssembly
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
yew - Rust / Wasm framework for creating reliable and efficient web applications
Svelte - Cybernetically enhanced web apps
imba - 🐤 The friendly full-stack language
inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces
mason - Tools which allow developers to create and consume reusable templates called bricks.
heroicons - A set of free MIT-licensed high-quality SVG icons for UI development.
solid-heroicons
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!