/codegen-benchmark

A simple benchmark comparing languages with optimizing compilers

Primary LanguageC++

codegen-benchmark

A simple benchmark comparing speed of code generated by optimizing compilers.

Note: this necessarily doesn't reflect real world performance of these languages!

Results

Language Time
C++ (MSVC 19.33.31631) 2204.74 ms
C++ (Clang LLVM 17.0.3) 1506.66 ms
Odin 1213.89 ms

Tested on this HW:

OS:   Windows 10 Professional (version: 22H2), build 19045.3570
CPU:  Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
RAM:  32681 MiB