triton-lang/triton has 267,161 source lines of code out of 362,314 total lines across 1,139 files, counted with tokei from the main ref at commit 46eccb199bfd on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
triton-lang/triton: 267,161 code lines at commit 46eccb199bfd, counted with tokei-15.0.0 on 2026-11-16. Saved result 7ec51d0f606a0face6be911898a14e8d7ba9da7d741912c8900a8bf08d9929bd.
OctoCounts produced this report by resolving triton-lang/triton to commit 46eccb199bfd, 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.
This is a large codebase by counted code lines. Code represents 73.7% of all lines, comments represent 15.0%, and the repository averages 235 code lines per file. C++ accounts for 52.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 373 | 175003 | 139725 | 17220 | 18058 |
| Python | 273 | 97120 | 74295 | 8289 | 14536 |
| C Header | 301 | 78795 | 44783 | 26973 | 7039 |
| C | 4 | 3003 | 2494 | 181 | 328 |
| CMake | 153 | 2831 | 2338 | 180 | 313 |
| CUDA | 2 | 1805 | 1577 | 65 | 163 |
| C++ Header | 1 | 1774 | 1568 | 118 | 88 |
| Makefile | 1 | 171 | 125 | 11 | 35 |
| Shell | 3 | 111 | 93 | 8 | 10 |
| JSON | 5 | 60 | 60 | 0 | 0 |
| Autoconf | 4 | 66 | 45 | 9 | 12 |
| TOML | 2 | 54 | 44 | 1 | 9 |
| INI | 1 | 7 | 7 | 0 | 0 |
| ReStructuredText | 1 | 11 | 7 | 0 | 4 |
| Markdown | 9 | 1472 | 0 | 1129 | 343 |
| Plain Text | 6 | 31 | 0 | 28 | 3 |
Top language: C++ 52.3%. Generated on .
triton-lang/triton: 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.
triton-lang/triton has 267,161 lines of code, plus 54,212 comment lines and 40,941 blank lines, for 362,314 total lines at commit 46eccb199bfd on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 46eccb199bfd, 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 46eccb199bfd on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for triton-lang/triton on this page — 267,161 code lines across 16 languages, counted by tokei.