# facebookresearch/faiss SLOC report

> As of 2026-10-08 (commit 6692d7ab3748), facebookresearch/faiss contains 226,230 total lines: 165,205 code, 29,877 comments, 31,148 blank, across 849 files in 17 languages (top: C++ 44.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

facebookresearch/faiss has 165,205 source lines of code out of 226,230 total lines across 849 files, counted from the main ref at commit 6692d7ab3748 by the OctoCounts tokei engine on 2026-10-08. 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 6692d7ab3748, 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 73.0% of all lines, comments represent 13.2%, and the repository averages 195 code lines per file. C++ accounts for 44.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 268 | 93,214 | 73,232 | 8,051 | 11,931 |
| C Header | 324 | 67,138 | 42,498 | 14,445 | 10,195 |
| Python | 108 | 29,891 | 23,597 | 1,833 | 4,461 |
| CUDA | 70 | 18,860 | 14,115 | 2,056 | 2,689 |
| Objective-C++ | 13 | 5,752 | 5,040 | 223 | 489 |
| CMake | 17 | 2,954 | 2,292 | 392 | 270 |
| Metal Shading Language | 1 | 2,413 | 2,035 | 159 | 219 |
| BASH | 2 | 866 | 623 | 73 | 170 |
| YAML | 5 | 575 | 537 | 16 | 22 |
| TOML | 3 | 497 | 334 | 115 | 48 |
| Jupyter Notebooks | 2 | 390 | 328 | 41 | 21 |
| C | 3 | 361 | 285 | 31 | 45 |

Top language (C++ 44.3%). Generated at 2026-10-08T23:53:36.258201266+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/6692d7ab3748e95d155c49b7821dc9ef70a2611a?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 226,230 total lines, including 165,205 code lines, 29,877 comment lines, and 31,148 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6692d7ab3748, 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 6692d7ab3748 on 2026-10-08T23:53:36.258201266+00:00.

## Similar repository reports

- [boykopovar/AnyPS5](https://octocounts.com/github/boykopovar/AnyPS5) — C++, 162,279 code lines
- [Edge0-AI/Edge0](https://octocounts.com/github/Edge0-AI/Edge0) — C++, 157,346 code lines
- [Edge0-AI/edge0](https://octocounts.com/github/Edge0-AI/edge0) — C++, 156,747 code lines
- [SaschaWillems/Vulkan](https://octocounts.com/github/SaschaWillems/Vulkan) — C++, 174,915 code lines
- [SaschaWillems/vulkan](https://octocounts.com/github/SaschaWillems/vulkan) — C++, 174,924 code lines
- [ml-explore/mlx](https://octocounts.com/github/ml-explore/mlx) — C++, 155,448 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)
