# facebookresearch/faiss SLOC report

> facebookresearch/faiss: 168,233 code lines at commit 7834abae4f86, counted with tokei-14.0.0 on 2026-10-22. Saved result f9a826ab281e479f42fe3fb684ab746a822907e3a1f4fa8a81cc73e9f9035e45.

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.

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.

## Repository size insights

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 | 95,684 | 75,393 | 8,182 | 12,109 |
| C Header | 327 | 67,643 | 42,766 | 14,598 | 10,279 |
| Python | 108 | 30,055 | 23,740 | 1,834 | 4,481 |
| CUDA | 70 | 19,359 | 14,558 | 2,084 | 2,717 |
| Objective-C++ | 13 | 5,752 | 5,040 | 223 | 489 |
| CMake | 17 | 2,961 | 2,299 | 392 | 270 |
| Metal Shading Language | 1 | 2,413 | 2,035 | 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 | 2,824 | 0 | 2,317 | 507 |

Top language (C++ 44.8%). Generated at 2026-10-22T06:11:32.710389544Z. Canonical report: https://octocounts.com/github/facebookresearch/faiss/commit/7834abae4f86839f2220dc88fb7b3403d2bb5e00?reportId=f9a826ab281e479f42fe3fb684ab746a822907e3a1f4fa8a81cc73e9f9035e45&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

facebookresearch/faiss has 229,882 total lines, including 168,233 code lines, 30,191 comment lines, and 31,458 blank lines.

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

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.

### What commit was counted for facebookresearch/faiss?

This OctoCounts report was generated from main at commit 7834abae4f86 on 2026-10-22T06:11:32.710389544Z.

## Similar repository reports

- [eclipse-score/communication](https://octocounts.com/github/eclipse-score/communication) — C++, 169,249 code lines
- [carbon-language/carbon-lang](https://octocounts.com/github/carbon-language/carbon-lang) — C++, 163,350 code lines
- [thepowersgang/mrustc](https://octocounts.com/github/thepowersgang/mrustc) — C++, 163,107 code lines
- [SaschaWillems/vulkan](https://octocounts.com/github/SaschaWillems/vulkan) — C++, 174,924 code lines
- [Edge0-AI/Edge0](https://octocounts.com/github/Edge0-AI/Edge0) — C++, 157,996 code lines
- [ml-explore/mlx](https://octocounts.com/github/ml-explore/mlx) — C++, 157,765 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)
