This page compares the source lines of code (SLOC) of evanw/esbuild and swc-project/swc 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-08-26, evanw/esbuild contains 251,847 total lines (171,984 code) across 323 files, while swc-project/swc contains 1,976,242 total lines (1,608,773 code) across 1,828 files as of 2026-08-26. swc-project/swc is about 9.4x the size of evanw/esbuild by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | evanw/esbuild | swc-project/swc |
|---|---|---|
| Files | 323 | 1,828 |
| Total lines | 251,847 | 1,976,242 |
| Code lines | 171,984 | 1,608,773 |
| Comment lines | 53,980 | 189,696 |
| Blank lines | 25,883 | 177,773 |
| Languages counted | 11 | 12 |
Top languages in evanw/esbuild: Go (70.1% of code), JavaScript (17.2% of code), JSON (6.7% of code). Top languages in swc-project/swc: JavaScript (43.4% of code), TypeScript (27.5% of code), Rust (20.0% of code). JavaScript, JSON, TypeScript appear in both top language lists; Go, Makefile appear only in evanw/esbuild's top languages; Rust, TSX appear only in swc-project/swc's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. evanw/esbuild was counted at ref main (commit f6058f8364fe) on 2026-08-26; swc-project/swc was counted at ref main (commit 7a29dc74221e) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
swc-project/swc has more code: 1,608,773 code lines versus 171,984 for evanw/esbuild, about 9.4x as much, based on cached OctoCounts reports as of 2026-08-26.
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 evanw/esbuild, swc-project/swc, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. evanw/esbuild was counted at ref main (commit f6058f8364fe) on 2026-08-26; swc-project/swc was counted at ref main (commit 7a29dc74221e) on 2026-08-26. 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.