sgl-project/sglang has 1,677,022 source lines of code out of 1,996,978 total lines across 5,814 files, counted from the main ref at commit bab9c81fea62 by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.
sgl-project/sglang: 1,677,022 code lines at commit bab9c81fea62, counted with tokei-14.0.0 on 2026-10-14. Saved result fd1543fbd9cf88369676c4530c7d159469b620e062e68b2ea0c8201cfa7b0060.
OctoCounts produced this report by resolving sgl-project/sglang to commit bab9c81fea62, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.
This is a very large codebase by counted code lines. Code represents 84.0% of all lines, comments represent 5.7%, and the repository averages 288 code lines per file. Python accounts for 78.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 4131 | 1576348 | 1321194 | 82372 | 172782 |
| Rust | 517 | 202173 | 175087 | 8576 | 18510 |
| JSON | 613 | 88352 | 88352 | 0 | 0 |
| CUDA | 55 | 27629 | 22619 | 2569 | 2441 |
| C++ | 52 | 25159 | 20251 | 2201 | 2707 |
| C Header | 82 | 22662 | 16984 | 2827 | 2851 |
| Shell | 73 | 11003 | 7715 | 2030 | 1258 |
| Go | 22 | 7598 | 5877 | 770 | 951 |
| YAML | 58 | 4745 | 3361 | 1115 | 269 |
| JavaScript | 5 | 3532 | 3312 | 1 | 219 |
| C++ Header | 11 | 3931 | 2882 | 558 | 491 |
| Dockerfile | 16 | 3239 | 2234 | 668 | 337 |
| TOML | 40 | 2665 | 2155 | 247 | 263 |
| GNU Style Assembly | 2 | 1025 | 925 | 69 | 31 |
| CSS | 2 | 963 | 902 | 0 | 61 |
| Protocol Buffers | 8 | 1342 | 811 | 322 | 209 |
| CMake | 4 | 929 | 706 | 113 | 110 |
| Jinja2 | 9 | 664 | 614 | 32 | 18 |
| Makefile | 4 | 637 | 502 | 48 | 87 |
| HTML | 2 | 293 | 291 | 0 | 2 |
| Metal Shading Language | 1 | 262 | 194 | 37 | 31 |
| BASH | 2 | 46 | 33 | 5 | 8 |
| Autoconf | 3 | 15 | 14 | 1 | 0 |
| INI | 1 | 5 | 5 | 0 | 0 |
| SVG | 2 | 2 | 2 | 0 | 0 |
| Jupyter Notebooks | 2 | 0 | 0 | 0 | 0 |
| Markdown | 95 | 11109 | 0 | 8247 | 2862 |
| Plain Text | 2 | 650 | 0 | 541 | 109 |
Top language (Python 78.8%). Generated at .
sgl-project/sglang: tokei-14.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.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
sgl-project/sglang has 1,996,978 total lines, including 1,677,022 code lines, 113,349 comment lines, and 206,607 blank lines.
OctoCounts resolved the public GitHub repository to commit bab9c81fea62, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit bab9c81fea62 on 2026-10-14T11:52:30.581924443Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for sgl-project/sglang on this page — 1,677,022 code lines across 28 languages, counted by tokei.