facebookresearch/faiss has 190,787 source lines of code out of 256,069 total lines across 911 files, counted with tokei from the main ref at commit 84cc7eeba897 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
facebookresearch/faiss: 190,787 code lines at commit 84cc7eeba897, counted with tokei-15.0.0 on 2026-11-16. Saved result e29f268f1bbdebf10819b7441c47931b5d6b26b1c3f2f11da5f33539d1920a29.
OctoCounts produced this report by resolving facebookresearch/faiss to commit 84cc7eeba897, 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 74.5% of all lines, comments represent 12.5%, and the repository averages 209 code lines per file. C++ accounts for 40.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 278 | 97865 | 77434 | 8349 | 12082 |
| C Header | 334 | 69155 | 43795 | 14931 | 10429 |
| Python | 143 | 44879 | 36868 | 2230 | 5781 |
| CUDA | 71 | 19899 | 15093 | 2088 | 2718 |
| JSON | 2 | 5359 | 5359 | 0 | 0 |
| Objective-C++ | 14 | 6073 | 5316 | 243 | 514 |
| CMake | 17 | 2987 | 2321 | 394 | 272 |
| Metal Shading Language | 1 | 2596 | 2194 | 180 | 222 |
| BASH | 2 | 866 | 623 | 73 | 170 |
| YAML | 5 | 591 | 550 | 19 | 22 |
| TOML | 3 | 491 | 331 | 113 | 47 |
| Jupyter Notebooks | 2 | 390 | 328 | 41 | 21 |
| C | 3 | 361 | 285 | 31 | 45 |
| Shell | 14 | 425 | 244 | 111 | 70 |
| Batch | 2 | 56 | 36 | 11 | 9 |
| Dockerfile | 1 | 10 | 9 | 0 | 1 |
| Autoconf | 1 | 7 | 1 | 5 | 1 |
| Markdown | 18 | 4059 | 0 | 3286 | 773 |
Top language: C++ 40.6%. Generated on .
facebookresearch/faiss: 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.
facebookresearch/faiss has 190,787 lines of code, plus 32,105 comment lines and 33,177 blank lines, for 256,069 total lines at commit 84cc7eeba897 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 84cc7eeba897, 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 84cc7eeba897 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for facebookresearch/faiss on this page — 190,787 code lines across 18 languages, counted by tokei.