# microsoft/mimalloc SLOC report

> As of 2026-09-13 (commit 39448a96aae7), microsoft/mimalloc contains 33,555 total lines: 23,954 code, 5,723 comments, 3,878 blank, across 78 files in 12 languages (top: C 59.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

microsoft/mimalloc has 23,954 source lines of code out of 33,555 total lines across 78 files, counted from the 39448a96aae7eab35840b2a9d19adaf175cf9b34 ref at commit 39448a96aae7 by the OctoCounts tokei engine on 2026-09-13. 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 microsoft/mimalloc to commit 39448a96aae7, 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.4% of all lines, comments represent 17.1%, and the repository averages 307 code lines per file. C accounts for 59.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 31 | 19,690 | 14,259 | 3,073 | 2,358 |
| C Header | 14 | 6,447 | 4,010 | 1,436 | 1,001 |
| Visual Studio Project | 10 | 3,806 | 3,806 | 0 | 0 |
| CMake | 6 | 1,343 | 1,086 | 111 | 146 |
| YAML | 1 | 265 | 238 | 18 | 9 |
| 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,325 | 0 | 1,030 | 295 |

Top language (C 59.5%). Generated at 2026-09-13T09:55:46.167724649+00:00. Canonical report: https://octocounts.com/github/microsoft/mimalloc

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/microsoft/mimalloc/commit/39448a96aae7eab35840b2a9d19adaf175cf9b34?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 microsoft/mimalloc have?

microsoft/mimalloc has 33,555 total lines, including 23,954 code lines, 5,723 comment lines, and 3,878 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 39448a96aae7, 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 39448a96aae7eab35840b2a9d19adaf175cf9b34 at commit 39448a96aae7 on 2026-09-13T09:55:46.167724649+00:00.

## Similar repository reports

- [jqlang/jq](https://octocounts.com/github/jqlang/jq) — C, 24,042 code lines
- [aubio/aubio](https://octocounts.com/github/aubio/aubio) — C, 23,852 code lines
- [ijl/orjson](https://octocounts.com/github/ijl/orjson) — C, 24,057 code lines
- [file/file](https://octocounts.com/github/file/file) — C, 23,581 code lines
- [mirror/tar](https://octocounts.com/github/mirror/tar) — C, 23,508 code lines
- [antirez/h3.c](https://octocounts.com/github/antirez/h3.c) — C, 25,096 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)
- [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)
