# microsoft/mimalloc SLOC report

> As of 2026-08-18 (commit fc1e2acbced0), microsoft/mimalloc contains 31,786 total lines: 22,594 code, 5,495 comments, 3,697 blank, across 74 files in 12 languages (top: C 59.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/mimalloc to commit fc1e2acbced0, 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 medium-sized codebase by counted code lines. Code represents 71.1% of all lines, comments represent 17.3%, and the repository averages 305 code lines per file. C accounts for 59.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 28 | 18,663 | 13,439 | 2,960 | 2,264 |
| Visual Studio Project | 10 | 3,797 | 3,797 | 0 | 0 |
| C Header | 13 | 6,081 | 3,719 | 1,394 | 968 |
| CMake | 6 | 1,055 | 847 | 95 | 113 |
| YAML | 1 | 263 | 237 | 18 | 8 |
| Visual Studio Solution | 1 | 208 | 207 | 0 | 1 |
| Shell | 1 | 236 | 173 | 32 | 31 |
| Batch | 1 | 74 | 60 | 0 | 14 |
| Dockerfile | 4 | 102 | 57 | 23 | 22 |
| JSON | 1 | 48 | 48 | 0 | 0 |
| Autoconf | 1 | 11 | 10 | 0 | 1 |
| Markdown | 7 | 1,248 | 0 | 973 | 275 |

Top language (C 59.5%). Generated at 2026-08-18T23:26:32.988346793+00:00. Canonical report: https://octocounts.com/github/microsoft/mimalloc

## Report FAQ

### How many lines of code does microsoft/mimalloc have?

microsoft/mimalloc has 31,786 total lines, including 22,594 code lines, 5,495 comment lines, and 3,697 blank lines.

### How was the microsoft/mimalloc line count measured?

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

### What commit was counted for microsoft/mimalloc?

This OctoCounts report was generated from main3 at commit fc1e2acbced0 on 2026-08-18T23:26:32.988346793+00:00.

## Similar repository reports

- [wasm3/wasm3](https://octocounts.com/github/wasm3/wasm3) — C, 22,482 code lines
- [AmmarkoV/SAM3DBody-cpp](https://octocounts.com/github/AmmarkoV/SAM3DBody-cpp) — C, 21,680 code lines
- [mirror/tar](https://octocounts.com/github/mirror/tar) — C, 23,508 code lines
- [aubio/aubio](https://octocounts.com/github/aubio/aubio) — C, 23,852 code lines
- [jqlang/jq](https://octocounts.com/github/jqlang/jq) — C, 24,028 code lines
- [ijl/orjson](https://octocounts.com/github/ijl/orjson) — C, 24,057 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
