sgl-project/sglang

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python41311576348132119482372172782
Rust517202173175087857618510
JSON613883528835200
CUDA55276292261925692441
C++52251592025122012707
C Header82226621698428272851
Shell7311003771520301258
Go2275985877770951
YAML58474533611115269
JavaScript5353233121219
C++ Header1139312882558491
Dockerfile1632392234668337
TOML4026652155247263
GNU Style Assembly210259256931
CSS2963902061
Protocol Buffers81342811322209
CMake4929706113110
Jinja296646143218
Makefile46375024887
HTML229329102
Metal Shading Language12621943731
BASH2463358
Autoconf3151410
INI15500
SVG22200
Jupyter Notebooks20000
Markdown9511109082472862
Plain Text26500541109

Top language (Python 78.8%). Generated at .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does sgl-project/sglang have?

sgl-project/sglang has 1,996,978 total lines, including 1,677,022 code lines, 113,349 comment lines, and 206,607 blank lines.

How was the sgl-project/sglang line count measured?

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.

What commit was counted for sgl-project/sglang?

This OctoCounts report was generated from main at commit bab9c81fea62 on 2026-10-14T11:52:30.581924443Z.

Similar repository reports

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.