compiler-benchmark icon indicating copy to clipboard operation
compiler-benchmark copied to clipboard

Benchmarks compilation speeds of different combinations of languages and compilers.

Results 10 compiler-benchmark issues
Sort by recently updated
recently updated
newest added

I'm interested in the data, or rather the model of performance that might best fit the data. Here is one I did earlier: https://shape-of-code.com/2019/01/29/modeling-visual-studio-c-compile-times/ Is detailed data available to be...

From what I can see "Run Time" is merely invoking the compiler. It doesn't run the `main` created and so consequently the "Run Time" goes down with number of functions....

Adds a `--path` optional command line argument to specify a path in which to look for compilers. Possible usage: ```sh benchmark --path=/usr/bin benchmark --path=/usr/local/bin:/usr/bin ``` This allows for the testing...

If I execute: ``` ./benchmark --languages=C,Julia ``` I get the following result: ``` | Lang-uage | Temp-lated | Check Time [us/fn] | Compile Time [us/fn] | Build Time [us/fn] |...

`benchmark` python code would IMO be a lot more readable, concise, maintainable and extensible to other languages and benchmarks if it instead generated each language searately instead of the current...

pip3 install psutil Collecting psutil Downloading psutil-5.8.0-cp39-cp39-macosx_10_9_x86_64.whl (236 kB) |████████████████████████████████| 236 kB 1.6 MB/s Installing collected packages: psutil Successfully installed psutil-5.8.0 python3 --version Python 3.9.4 ``` ./benchmark --languages=C++ # Code-generation:...

A very nice benchmark. I have a question about this comment in the README: > The compilers vox dmd are, by a large margin, the fastest. 2 times faster than...

First, you might want to benchmark Julia on master as is (or possibly next nightly, I just noticed yet one more improvement merged just now "Remove alloca from codegen"). I...

Hi, thanks for the project. Consider to add extra compilers for C: Zig and D. I've tried to generate C source from your repo (--function-count=200 --function-depth=200). Then compile it with...

OCaml has both bytecode and machine code compilers. `ocamlopt` compiles to machine code. `ocamlc` compiles to bytecode.