# KhronosGroup/Vulkan-Samples SLOC report

> As of 2026-09-06 (commit 36c918f2d102), KhronosGroup/Vulkan-Samples contains 263,188 total lines: 187,205 code, 40,366 comments, 35,617 blank, across 1,493 files in 21 languages (top: C++ 40.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

KhronosGroup/Vulkan-Samples has 187,205 source lines of code out of 263,188 total lines across 1,493 files, counted from the 36c918f2d102a8a5854bb76bd40efca2c315ed0e ref at commit 36c918f2d102 by the OctoCounts tokei engine on 2026-09-06. 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 KhronosGroup/Vulkan-Samples to commit 36c918f2d102, 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 71.1% of all lines, comments represent 15.3%, and the repository averages 125 code lines per file. C++ accounts for 40.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 240 | 104,360 | 76,354 | 11,854 | 16,152 |
| C++ Header | 15 | 35,892 | 34,647 | 394 | 851 |
| C Header | 296 | 51,020 | 33,184 | 10,521 | 7,315 |
| AsciiDoc | 141 | 21,426 | 13,045 | 2,963 | 5,418 |
| GLSL | 309 | 17,701 | 9,402 | 5,842 | 2,457 |
| CMake | 150 | 9,736 | 6,206 | 2,529 | 1,001 |
| Slang | 158 | 8,933 | 5,098 | 2,862 | 973 |
| HLSL | 121 | 6,708 | 3,825 | 2,139 | 744 |
| C | 1 | 2,534 | 2,445 | 36 | 53 |
| Java | 13 | 1,627 | 876 | 506 | 245 |
| Autoconf | 14 | 763 | 571 | 60 | 132 |
| SVG | 6 | 481 | 373 | 102 | 6 |

Top language (C++ 40.8%). Generated at 2026-09-06T03:01:35.755685163+00:00. Canonical report: https://octocounts.com/github/KhronosGroup/Vulkan-Samples

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/KhronosGroup/Vulkan-Samples/commit/36c918f2d102a8a5854bb76bd40efca2c315ed0e?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 KhronosGroup/Vulkan-Samples have?

KhronosGroup/Vulkan-Samples has 263,188 total lines, including 187,205 code lines, 40,366 comment lines, and 35,617 blank lines.

### How was the KhronosGroup/Vulkan-Samples line count measured?

OctoCounts resolved the public GitHub repository to commit 36c918f2d102, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for KhronosGroup/Vulkan-Samples?

This OctoCounts report was generated from 36c918f2d102a8a5854bb76bd40efca2c315ed0e at commit 36c918f2d102 on 2026-09-06T03:01:35.755685163+00:00.

## Similar repository reports

- [aseprite/aseprite](https://octocounts.com/github/aseprite/aseprite) — C++, 184,126 code lines
- [rsta2/circle](https://octocounts.com/github/rsta2/circle) — C++, 201,265 code lines
- [SaschaWillems/vulkan](https://octocounts.com/github/SaschaWillems/vulkan) — C++, 173,118 code lines
- [Gerate-Technik/zkgram](https://octocounts.com/github/Gerate-Technik/zkgram) — C++, 206,979 code lines
- [electron/electron](https://octocounts.com/github/electron/electron) — C++, 208,094 code lines
- [vicinaehq/vicinae](https://octocounts.com/github/vicinaehq/vicinae) — C++, 212,201 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)
