Svelte vyhrává 4 z 6 kategorií, Solid 2, none nerozhodněHraniční případy se do počtu započítají, jakmile spustíte živé testy níže. Měří se ve vašem prohlížeči, neukládají se sem.
Hraniční případy
Zatím nespuštěnoČtyři běžné situace, které běží vedle sebe ve vašem prohlížeči. Stiskněte u případu „Spustit“ a přečtěte si, co se stane; nic tady není nahráno dopředu.Zastaralá odpověď přepíše čerstvouProklikávejte seznam rychleji, než odpovídá server.SpustitSolid○Zatím nespuštěnoSvelte○Zatím nespuštěnoZobrazit kód10 000 řádků nestejné výškyProjděte dlouhý seznam, kde má každý řádek jinou výšku.SpustitSolid○Zatím nespuštěnoSvelte○Zatím nespuštěnoZobrazit kódOdběry po 100 cyklech připojeníStokrát připojte a odpojte komponentu s odběrem.SpustitSolid○Zatím nespuštěnoSvelte○Zatím nespuštěnoZobrazit kódJedna rozbitá položka položí celý stromVložte poškozená data do jedné karty z dvaceti.SpustitSolid○Zatím nespuštěnoSvelte○Zatím nespuštěnoZobrazit kód
Kód
Solid 3 z 4, Svelte 1 z 4 · Solid vedeKolik je toho ke čtení a kolik z toho patří někomu jinému.SolidSvelteLines of code (TodoMVC)——Nezapočítáno: pro Solid nejsou dataFewer lines to read when someone else picks the project up. Counts the code you write and maintain yourself, not a stylesheet you installed from npm.npm packages shipped12Solid je o 50% níž než SvelteHow many npm packages end up inside the bundle the browser downloads. This is code your users execute, not code your build machine reads.Distinct `node_modules/<package>` paths in the `sources` of the production build sourcemaps. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`. For $mol, the sourcemap of the deployed todomvc.hyoo.ru bundle.Soliddocs.solidjs.com/quick-start2026-08-13Sveltesvelte.dev/…/creating-a-project2026-08-13Dev dependencies declared57Solid je o 29% níž než SveltePackages the starter project names in its own package.json. Build-time tooling included: this is the list your development environment inherits, not what reaches the browser.Entries in `dependencies` plus `devDependencies` of a fresh starter project. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Soliddocs.solidjs.com/quick-start2026-08-13Sveltesvelte.dev/…/creating-a-project2026-08-13Dev packages installed7022Svelte je o 69% níž než SolidHow many separate packages npm resolves into node_modules on a clean checkout. Each one is an author your build trusts, and every CI run downloads all of them.Distinct name+version pairs in `npm ls --all` after scaffolding and installing the starter project. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Soliddocs.solidjs.com/quick-start2026-08-13Sveltesvelte.dev/…/creating-a-project2026-08-13node_modules size65 MB68 MBSolid je o 4.4% níž než SvelteDisk footprint of a fresh checkout. None of it ships to the browser, but all of it is downloaded by every CI run and every new machine on the team.`du -sk node_modules` after scaffolding and installing the starter project. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Soliddocs.solidjs.com/quick-start2026-08-13Sveltesvelte.dev/…/creating-a-project2026-08-13
Váha a načítání
Solid 0 z 1, Svelte 1 z 1 · Svelte vedeCo prohlížeč stahuje a jak dlouho čeká, než stránka zareaguje.SolidSvelteTodoMVC bundle, gzip——Nezapočítáno: pro Solid nejsou dataWhat the browser actually downloads for a small but complete application, compressed the way a server would send it.Startup transfer150 KB146 KBSvelte je o 2.4% níž než SolidBytes pulled over the network before the benchmark application is usable. Same application in every column, so the difference is the framework.Lighthouse total byte weight for the js-framework-benchmark application, reported as benchmark 34_startup-totalbytes. Transfer size, not gzip specifically.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05
Rychlost
Solid 2 z 7, Svelte 4 z 7 · Svelte vedeJak dlouho trvá, než se změny dostanou na obrazovku, a kolik paměti se přitom drží.SolidSvelteCreate 1,000 rows153 ms173 msSolid je o 12% níž než SvelteTime to put a thousand fresh rows on the screen. This is the wait after hitting a filter or opening a list.js-framework-benchmark 01_run1k, arithmetic mean of 10 runs.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05Partial update992 ms977 msSvelte je o 1.5% níž než SolidTouching every tenth row of a thousand, sixteen times. This is where a framework either finds the changed rows or re-checks everything.js-framework-benchmark 03_update10th1k_x16, arithmetic mean of 10 runs.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05Swap two rows181 ms173 msSvelte je o 4.6% níž než SolidTwo rows trade places out of a thousand. The ideal answer is two DOM moves, and the gap here shows who gets close to it.js-framework-benchmark 05_swap1k, arithmetic mean of 10 runs.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05Remove one row45.3 ms36.2 msSvelte je o 20% níž než SolidDeleting a single row out of a thousand. The smallest possible change, so it measures the fixed cost of reacting at all.js-framework-benchmark 06_remove-one-1k, arithmetic mean of 10 runs.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05Memory after load1.22 MB1.22 MBoba uvádějí stejnou hodnotuHeap the framework occupies with nothing on the page yet.js-framework-benchmark 21_ready-memory, single run.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05Memory with 1,000 rows1.94 MB2.14 MBSolid je o 9.3% níž než SvelteHeap once a thousand rows are on screen. On a phone this is the difference between staying alive in the background and being killed.js-framework-benchmark 22_run-memory, single run.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05Startup blocking time20.7 ms10.1 msSvelte je o 51% níž než SolidHow long the main thread is busy during startup, so taps and scrolls do nothing.js-framework-benchmark 32_startup-bt (Lighthouse total blocking time), arithmetic mean of 4 runs.Solidnin-jin.github.io/…/table.html2022-02-05Sveltenin-jin.github.io/…/table.html2022-02-05
Vestavěné
Solid 0 z 10, Svelte 1 z 10 · Svelte vedeJestli to framework přináší s sebou, nebo sáhnete po knihovně.SolidSvelteRouterAnoAnomají to obaWhether URLs and navigation come from the framework project itself, or you go pick a library and own that choice forever.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents a routing solution of its own. No when its own docs send you to a third-party project instead.Soliddocs.solidjs.com/solid-router2026-08-13Sveltesvelte.dev/…/routing2026-08-13LocalizationNeNenemá to ani jedenTranslating an application is rarely planned at the start and always arrives later.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents localization of its own. An official CLI add-on that wires up somebody else’s i18n library is a no, because the library is still somebody else’s.Soliddocs.solidjs.com2026-08-14Sveltesvelte.dev/…/paraglide2026-08-14ThemingNeNenemá to ani jedenDark mode and brand colours without inventing your own CSS variable convention.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents a theming mechanism of its own. No when the word does not appear in its official API reference, which is the page linked, so the absence can be checked directly.Soliddocs.solidjs.com2026-08-13Sveltesvelte.dev/…/overview2026-08-13List virtualizationNeNenemá to ani jedenLong lists stay smooth because off-screen rows are never rendered. Without it, someone eventually bolts a library onto a list that already shipped.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents lazy or virtual rendering of long lists. No when no such component appears in its API reference.Soliddocs.solidjs.com2026-08-14Sveltesvelte.dev/…/overview2026-08-14Offline supportNeAnoSvelte ano, Solid neA service worker set up by the framework rather than copied from a blog post.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project ships the service worker integration: a module it builds and registers for you. No when the docs only show where to drop your own sw.js and how to register it with the browser API, because that is the browser’s feature rather than the framework’s.Soliddocs.solidjs.com/…/service-workers2026-08-14Sveltesvelte.dev/…/service-workers2026-08-13Server renderingAnoAnomají to obaRendering to HTML on the server, for search engines and for the first paint.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents a server rendering API of its own. No when its published module list contains no such module.Soliddocs.solidjs.com/…/render-to-string2026-08-13Sveltesvelte.dev/…/page-options2026-08-13Tests without a DOMNeNenemá to ani jedenComponents testable as plain objects, with no browser and no jsdom to boot up first.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when a component can be instantiated and asserted on with no document in play — the test never reaches for one. No when a DOM has to exist before a component can render at all, which is what every official testing guide here prescribes when it tells you to install jsdom, happy-dom or a browser. The question is whether a DOM is required, not whether the runtime happens to have one available: a runtime that provides a document nobody asks for does not make the test a DOM test.Soliddocs.solidjs.com/guides/testing2026-08-13Sveltesvelte.dev/…/testing2026-08-13Dependency injectionAnoAnomají to obaSwapping a real service for a fake one in a test without touching the component that uses it.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project documents a way to hand a component a value from outside it and replace that value later, in a test or in another host. Context APIs count: the bar is a documented mechanism, not a particular shape of container.Soliddocs.solidjs.com/…/create-context2026-08-14Sveltesvelte.dev/…/context2026-08-14FormsAnoAnomají to obaValidation, dirty state and submission handled by the framework instead of a fourth form library per team.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project documents a form API that goes past binding one input to one variable, covering at least submission handling or validation state. Two-way binding on its own is a no.Soliddocs.solidjs.com/…/action2026-08-14Sveltesvelte.dev/…/form-actions2026-08-14Typed templatesAnoAnomají to obaA typo in a template is caught by the compiler, not by a user.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when the framework’s official TypeScript documentation covers type checking of its template or view layer.Soliddocs.solidjs.com/configuration/typescript2026-08-13Sveltesvelte.dev/…/typescript2026-08-13
Ekosystém a trh
Solid 0 z 4, Svelte 4 z 4 · Svelte vedeJak snadné je na to najmout lidi, vyhledat to a najít hotový díl.SolidSvelteGitHub stars35,81687,975Svelte je 2.5× SolidA popularity signal, and nothing more. It says how many people bookmarked the repository, not how many shipped with it.`stargazers_count` from the GitHub API for the repository that holds the framework's current source.Solidgithub.com/solidjs/solid2026-08-13Sveltegithub.com/sveltejs/svelte2026-08-13npm downloads3,456,458 per week5,273,631 per weekSvelte je o 53% výš než SolidThe closest thing to a usage count. Inflated by CI runs, but inflated the same way for everyone.npm registry downloads for the last full week, for the package you install to use the framework.Solidapi.npmjs.org/…/solid-js2026-08-13Svelteapi.npmjs.org/…/svelte2026-08-13Stack Overflow questions3236,281Svelte je 19.4× SolidHow likely it is that your problem was already asked and answered by someone else.Question count of the framework's Stack Overflow tag, via the Stack Exchange API.Solidstackoverflow.com/…/solid-js2026-08-13Sveltestackoverflow.com/…/svelte2026-08-13npm maintainers13Svelte je 3× SolidHow many people can publish a release. A low number is a bus factor.Length of the `maintainers` array in the npm registry metadata of the framework's primary package.Solidregistry.npmjs.org/solid-js2026-08-13Svelteregistry.npmjs.org/svelte2026-08-13
Náklady na vlastnictví
Solid 2 z 3, Svelte 0 z 3 · Solid vedeCo si strom závislostí a historie vydání vyžádají v průběhu let.SolidSvelteAdvisories in shipped packages00oba uvádějí stejnou hodnotuKnown vulnerabilities in the packages that reach the browser. These execute on your users’ machines, which makes them a different class of risk from anything in the build toolchain.Each shipped package, at its installed version, queried against the OSV database. Counts packages carrying at least one advisory.Soliddocs.solidjs.com/quick-start2026-08-13Sveltesvelte.dev/…/creating-a-project2026-08-13Advisories in the dev tree03Solid nemá žádné, Svelte má 3Known vulnerabilities in the packages a fresh checkout installs. These run on developer and CI machines rather than in the browser, but somebody still has to triage every one.Total reported by `npm audit` on the starter project, straight after scaffolding it. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Soliddocs.solidjs.com/quick-start2026-08-13Sveltesvelte.dev/…/creating-a-project2026-08-13Breaking releases in 3 years01Solid nemá žádné, Svelte má 1Major versions shipped since 2023. Every one of them is a migration someone on the team pays for.Count of major semver versions of the framework's primary npm package first published in the last three years. Left blank for packages that do not use semver majors.Solidregistry.npmjs.org/solid-js2026-08-13Svelteregistry.npmjs.org/svelte2026-08-13
Jak se to měří
Každá hodnota tady pochází z měření nebo z vnějšího zdroje a nese s sebou odkaz a datum pořízení. Metrika se do kategorie počítá jen tehdy, když ji zveřejňují oba frameworky: jinak by ten s úplnější tabulkou vyhrával díky úplnosti svých dat, a ne díky tomu, co říkají čísla. Tam, kde ještě nikdo neměřil, to řádek říká, místo aby hádal.Metodika a zdroje na GitHubu
Navrhnout framework
Nějaký chybí? Pojmenujte ho a založte issue. Přidat framework znamená datový soubor s jeho měřeními a, pro živé testy, stránku runneru: obojí leží v repozitáři vedle těch, které tu už jsou.Založit issueType to search the documentation.