# facebookresearch/faiss SLOC report

> As of 2026-09-17 (commit 3778f5892d0c), facebookresearch/faiss contains 213,982 total lines: 155,693 code, 28,383 comments, 29,906 blank, across 830 files in 17 languages (top: C++ 43.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

facebookresearch/faiss has 155,693 source lines of code out of 213,982 total lines across 830 files, counted from the 3778f5892d0c663a6c926609354174b278028321 ref at commit 3778f5892d0c by the OctoCounts tokei engine on 2026-09-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving facebookresearch/faiss to commit 3778f5892d0c, 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.8% of all lines, comments represent 13.3%, and the repository averages 188 code lines per file. C++ accounts for 43.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 260 | 85,770 | 67,371 | 7,255 | 11,144 |
| C Header | 313 | 64,762 | 40,911 | 13,924 | 9,927 |
| Python | 108 | 29,878 | 23,585 | 1,833 | 4,460 |
| CUDA | 70 | 18,757 | 14,031 | 2,043 | 2,683 |
| Objective-C++ | 13 | 4,824 | 4,225 | 167 | 432 |
| CMake | 17 | 2,906 | 2,268 | 372 | 266 |
| Metal Shading Language | 1 | 1,079 | 908 | 71 | 100 |
| BASH | 2 | 866 | 623 | 73 | 170 |
| YAML | 5 | 573 | 535 | 16 | 22 |
| TOML | 3 | 497 | 334 | 115 | 48 |
| Jupyter Notebooks | 2 | 390 | 328 | 41 | 21 |
| C | 3 | 361 | 285 | 31 | 45 |

Top language (C++ 43.3%). Generated at 2026-09-17T07:20:23.679529649+00:00. Canonical report: https://octocounts.com/github/facebookresearch/faiss

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/facebookresearch/faiss/commit/3778f5892d0c663a6c926609354174b278028321?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does facebookresearch/faiss have?

facebookresearch/faiss has 213,982 total lines, including 155,693 code lines, 28,383 comment lines, and 29,906 blank lines.

### How was the facebookresearch/faiss line count measured?

OctoCounts resolved the public GitHub repository to commit 3778f5892d0c, 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 3778f5892d0c663a6c926609354174b278028321 at commit 3778f5892d0c on 2026-09-17T07:20:23.679529649+00:00.

## Similar repository reports

- [krkrz/krkrz](https://octocounts.com/github/krkrz/krkrz) — C++, 153,898 code lines
- [OpenXcom/OpenXcom](https://octocounts.com/github/OpenXcom/OpenXcom) — C++, 145,020 code lines
- [ElyPrismLauncher/Launcher](https://octocounts.com/github/ElyPrismLauncher/Launcher) — C++, 142,332 code lines
- [ml-explore/mlx](https://octocounts.com/github/ml-explore/mlx) — C++, 140,897 code lines
- [geo-tp/ESP32-Bit-Pirate](https://octocounts.com/github/geo-tp/ESP32-Bit-Pirate) — C++, 140,147 code lines
- [SaschaWillems/vulkan](https://octocounts.com/github/SaschaWillems/vulkan) — C++, 173,118 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
