sgl-project/sglang

sgl-project/sglang has 1,903,202 source lines of code out of 2,247,552 total lines across 6,397 files, counted with tokei from the main ref at commit 47361c57be9f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

sgl-project/sglang: 1,903,202 code lines at commit 47361c57be9f, counted with tokei-15.0.0 on 2026-11-16. Saved result f2caf6eac5ce6ba693ed6651d5c4e828f8bdc653eee50d10c11ca91fcfddf220.

OctoCounts produced this report by resolving sgl-project/sglang to commit 47361c57be9f, 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a very large codebase by counted code lines. Code represents 84.7% of all lines, comments represent 5.5%, and the repository averages 298 code lines per file. Python accounts for 82.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python48541854470156323295268195970
Rust325159941142649566511627
JSON69010828810828800
CUDA55299182493226142372
C++49255872061722042766
C Header81229111716428412906
Shell7310782761420871081
JavaScript9361533838224
C++ Header1139312882558491
YAML51423628621099275
Dockerfile1936212462809350
TOML3124481955269224
Protocol Buffers1017441026443275
GNU Style Assembly210259256931
CSS2963902061
Metal Shading Language38157026152
Jinja296646143218
CMake35744347169
HTML331631402
SVG1013813800
Makefile19368817
BASH2463358
Autoconf26600
Jupyter Notebooks20000
Markdown9710769080442725
Plain Text36510542109

Top language: Python 82.1%. Generated on .

Counting rules and retention

sgl-project/sglang: 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.

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,903,202 lines of code, plus 122,697 comment lines and 221,653 blank lines, for 2,247,552 total lines at commit 47361c57be9f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 47361c57be9f, 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 47361c57be9f on November 16, 2026.

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,903,202 code lines across 26 languages, counted by tokei.