facebookresearch/faiss SLOC report
As of 2026-07-15 (commit e1f8d4fc0d99), facebookresearch/faiss contains 208,556 total lines: 151,492 code, 27,624 comments, 29,440 blank, across 823 files in 17 languages (top: C++ 42.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving facebookresearch/faiss to commit e1f8d4fc0d99, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
Repository size insights
This is a large codebase by counted code lines. Code represents 72.6% of all lines, comments represent 13.2%, and the repository averages 184 code lines per file. C++ accounts for 42.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 258 | 82989 | 65038 | 7037 | 10914 |
| C Header | 310 | 63433 | 39981 | 13675 | 9777 |
| Python | 108 | 29316 | 23067 | 1800 | 4449 |
| CUDA | 70 | 18950 | 14206 | 2036 | 2708 |
| Objective-C++ | 11 | 4144 | 3668 | 133 | 343 |
| CMake | 17 | 2880 | 2237 | 378 | 265 |
| Metal Shading Language | 1 | 1079 | 908 | 71 | 100 |
| BASH | 2 | 866 | 623 | 73 | 170 |
| YAML | 5 | 573 | 535 | 16 | 22 |
| Jupyter Notebooks | 2 | 390 | 328 | 41 | 21 |
| TOML | 3 | 475 | 327 | 101 | 47 |
| C | 3 | 361 | 285 | 31 | 45 |
Top language (C++ 42.9%). Generated at 2026-07-15T07:43:11.052679558+00:00.
Report FAQ
How many lines of code does facebookresearch/faiss have?
facebookresearch/faiss has 208,556 total lines, including 151,492 code lines, 27,624 comment lines, and 29,440 blank lines.
How was the facebookresearch/faiss line count measured?
OctoCounts resolved the public GitHub repository to commit e1f8d4fc0d99, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for facebookresearch/faiss?
This OctoCounts report was generated from main at commit e1f8d4fc0d99 on 2026-07-15T07:43:11.052679558+00:00.