facebookresearch/faiss has 168,233 source lines of code out of 229,882 total lines across 855 files, counted from the main ref at commit 7834abae4f86 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
facebookresearch/faiss: 168,233 code lines at commit 7834abae4f86, counted with tokei-14.0.0 on 2026-10-22. Saved result f9a826ab281e479f42fe3fb684ab746a822907e3a1f4fa8a81cc73e9f9035e45.
OctoCounts produced this report by resolving facebookresearch/faiss to commit 7834abae4f86, 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.
This is a large codebase by counted code lines. Code represents 73.2% of all lines, comments represent 13.1%, and the repository averages 197 code lines per file. C++ accounts for 44.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 271 | 95684 | 75393 | 8182 | 12109 |
| C Header | 327 | 67643 | 42766 | 14598 | 10279 |
| Python | 108 | 30055 | 23740 | 1834 | 4481 |
| CUDA | 70 | 19359 | 14558 | 2084 | 2717 |
| Objective-C++ | 13 | 5752 | 5040 | 223 | 489 |
| CMake | 17 | 2961 | 2299 | 392 | 270 |
| Metal Shading Language | 1 | 2413 | 2035 | 159 | 219 |
| BASH | 2 | 866 | 623 | 73 | 170 |
| YAML | 5 | 584 | 543 | 19 | 22 |
| TOML | 3 | 495 | 334 | 113 | 48 |
| Jupyter Notebooks | 2 | 390 | 328 | 41 | 21 |
| C | 3 | 361 | 285 | 31 | 45 |
| Shell | 14 | 422 | 243 | 109 | 70 |
| Batch | 2 | 56 | 36 | 11 | 9 |
| Dockerfile | 1 | 10 | 9 | 0 | 1 |
| Autoconf | 1 | 7 | 1 | 5 | 1 |
| Markdown | 15 | 2824 | 0 | 2317 | 507 |
Top language (C++ 44.8%). Generated at .
facebookresearch/faiss has 229,882 total lines, including 168,233 code lines, 30,191 comment lines, and 31,458 blank lines.
OctoCounts resolved the public GitHub repository to commit 7834abae4f86, 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 7834abae4f86 on 2026-10-22T06:11:32.710389544Z.
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 — 168,233 code lines across 17 languages, counted by tokei.