microsoft/onnxruntime

microsoft/onnxruntime has 2,502,446 source lines of code out of 2,937,334 total lines across 7,508 files, counted from the main ref at commit 973f680e7042 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

microsoft/onnxruntime: 2,502,446 code lines at commit 973f680e7042, counted with tokei-14.0.0 on 2026-10-21. Saved result 1b3047fadcdbc2a85d27c9735611a8ead4b219cfd1429fd65ec77d75b891539b.

OctoCounts produced this report by resolving microsoft/onnxruntime to commit 973f680e7042, 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 very large codebase by counted code lines. Code represents 85.2% of all lines, comments represent 7.6%, and the repository averages 333 code lines per file. C++ accounts for 67.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++2103183953316910106361884905
C Header24924924143552307828458900
Python6361609951267321070323560
CUDA7158947368754972710992
GNU Style Assembly87626354935389864296
TypeScript257534114035278605199
JSON79368243681509
C#75320412190668943241
YAML21224078205929622524
Assembly59256191832744352857
CMake112218541679025562508
JavaScript4915354957544941285
Java4812205646946311105
Go2565855521283781
C++ Header20713550061154975
C22712549541421750
Rust2553604495193672
Bitbake22483442164614
Shell7242802891784605
CSS3254924293882
Objective-C++1726952118128449
TSX51298114347108
XAML121029944184
Jupyter Notebooks71599927394278
MSBuild191027766124137
Batch1885264542165
Visual Studio Solution664263804
HLSL678061264104
PowerShell10837564155118
SVG541641510
XML214303811633
Dockerfile125293678280
FlatBuffers Schema34363164377
Forge Config326922981805589
TOML51701421018
Autoconf101881323818
Liquid812212200
LD Script12118107011
Templ610910513
NuGet Config6625930
Kotlin275531111
Objective-C378531312
Module-Definition14484710
HTML1232300
Jinja21201802
Prolog2151401
Just1131102
INI19801
Swift14121
Markdown1069577072392338
Plain Text727137057891348

Top language (C++ 67.6%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/onnxruntime have?

microsoft/onnxruntime has 2,937,334 total lines, including 2,502,446 code lines, 223,036 comment lines, and 211,852 blank lines.

How was the microsoft/onnxruntime line count measured?

OctoCounts resolved the public GitHub repository to commit 973f680e7042, 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/onnxruntime?

This OctoCounts report was generated from main at commit 973f680e7042 on 2026-10-21T03:13:03.036631910Z.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for microsoft/onnxruntime on this page — 2,502,446 code lines across 51 languages, counted by tokei.