microsoft/mimalloc has 23,973 source lines of code out of 33,634 total lines across 78 files, counted from the 31d034d94cdb8e22f7d7ed55967f581a2d6e831d ref at commit 31d034d94cdb by the OctoCounts tokei engine on 2026-10-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-17 (commit 31d034d94cdb), microsoft/mimalloc contains 33,634 total lines: 23,973 code, 5,772 comments, 3,889 blank, across 78 files in 12 languages (top: C 59.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/mimalloc to commit 31d034d94cdb, 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.
This is a medium-sized codebase by counted code lines. Code represents 71.3% of all lines, comments represent 17.2%, and the repository averages 307 code lines per file. C accounts for 59.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 31 | 19707 | 14246 | 3102 | 2359 |
| C Header | 14 | 6488 | 4028 | 1450 | 1010 |
| Visual Studio Project | 10 | 3806 | 3806 | 0 | 0 |
| CMake | 6 | 1361 | 1100 | 114 | 147 |
| 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 | 1328 | 0 | 1033 | 295 |
Top language (C 59.4%). Generated at .
microsoft/mimalloc has 33,634 total lines, including 23,973 code lines, 5,772 comment lines, and 3,889 blank lines.
OctoCounts resolved the public GitHub repository to commit 31d034d94cdb, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from 31d034d94cdb8e22f7d7ed55967f581a2d6e831d at commit 31d034d94cdb on 2026-10-17T10:17:30.608258927+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/mimalloc on this page — 23,973 code lines across 12 languages, counted by tokei.