The Svelte vs Vue comparison on OctoCounts shows side-by-side source line counts for sveltejs/svelte and vuejs/core, counted under the rules and on the dates stated below: files, total lines, code lines, comment lines, blank lines, and per-language totals, pinned to the exact commits listed below.
This page compares the source lines of code (SLOC) of sveltejs/svelte and vuejs/core using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-11-15, sveltejs/svelte contains 100,764 total lines (58,933 code) across 506 files, while vuejs/core contains 82,372 total lines (61,466 code) across 413 files as of 2026-11-13. sveltejs/svelte and vuejs/core are similar in size under the same engine and counting rules. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | sveltejs/svelte | vuejs/core |
|---|---|---|
| Files | 506 | 413 |
| Total lines | 100,764 | 82,372 |
| Code lines | 58,933 | 61,466 |
| Comment lines | 25,234 | 12,211 |
| Blank lines | 16,597 | 8,695 |
| Languages counted | 8 | 11 |
Top languages in sveltejs/svelte: JavaScript (77.9% of code), TypeScript (14.2% of code), YAML (6.1% of code). Top languages in vuejs/core: TypeScript (82.5% of code), YAML (8.0% of code), TSX (3.5% of code). JavaScript, TypeScript, YAML, JSON appear in both top language lists; HTML appears only in sveltejs/svelte's top languages; TSX appears only in vuejs/core's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. sveltejs/svelte was counted at ref main (commit 99c07450d2e0) on 2026-11-15; vuejs/core was counted at ref main (commit cbd95955a536) on 2026-11-13. See the counting methodology for ignored directories and analysis options.
Both reports use the same engine and effective counting rules. Repository declarations, when enabled, are specific to each repository. sveltejs/svelte: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed. vuejs/core: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Background observations recorded on 2026-09-16; language descriptions here are historical context, not claims about the current filtered shares. Use this page's measured language breakdown for current counts. Repository layout before counting filters: sveltejs/svelte is the Svelte repository: the compiler, the client runtime, documentation, and test suites, organized as a monorepo of packages. vuejs/core is the Vue core: the reactivity system, the runtime renderer, and the template compiler, with its own tests and docs. Both repositories are framework source trees, not applications built with the frameworks, and both were counted on the dates shown above.
The two frameworks concentrate their work at different layers: Svelte's counted code centers on a compile-time transform, while Vue core ships a runtime renderer alongside its compiler — so the totals describe different balances of compile-time and runtime code rather than different amounts of shipped browser code.
Both repositories are written predominantly in TypeScript, as the per-language tables show, so this comparison is less about implementation language than about the shape and scope of the framework code each project maintains.
A larger count does not mean more of the framework ships to a user's browser: what a built application includes depends on compiler output and bundling, not on repository size.
Sources: sveltejs/svelte repository · vuejs/core repository. Statements verified 2026-09-16.
Evidence and next steps:
Saved reports remain subject to cache cleanup and replacement. Export their JSON for durable citation; live report URLs can change.
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
As of 2026-11-15, sveltejs/svelte contains 100,764 total lines (58,933 code) across 506 files, while vuejs/core contains 82,372 total lines (61,466 code) across 413 files as of 2026-11-13. sveltejs/svelte and vuejs/core are similar in size under the same engine and counting rules. Code size is not code quality: a larger count only means more source material, not a better or worse project.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for sveltejs/svelte, vuejs/core, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. sveltejs/svelte was counted at ref main (commit 99c07450d2e0) on 2026-11-15; vuejs/core was counted at ref main (commit cbd95955a536) on 2026-11-13. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.