【文件属性】:
文件名称:编译器基准测试:基准测试各种语言和编译器组合的编译速度
文件大小:17KB
文件格式:ZIP
更新时间:2021-01-29 16:55:09
c java rust benchmark cplusplus
编译器基准
不同语言和编译器组合的基准编译速度。 支持的语言是:
本地编译器的语言
(使用gcc , clang和 ),
(使用g++和clang++ ),
(使用dmd ldmd2和gdc ),
(使用go或gccgo ),
(使用swiftc ),
(使用rustc ),
(使用julia )。
(使用gnatgcc ),
(使用zig ),以及
(使用v ),
(使用vox ),
(使用c3c ),
字节码编译器的语言:
(使用ocamlopt ),
(使用mcs ),以及
(使用javac )。
这些子集的一部分可以通过此存储库中的脚本./install-compilers-on-ubuntu-20.04.sh安装在Ubuntu(已在20.04测试)上。
这个怎么运作
基准测试通常按
./benchmark \
--function-count=$FUNCTION_COUNT \
--function-depth=$FUNCTION_DEPTH \
--run-count=5
适用于$FUNCTION_CO
【文件预览】:
compiler-benchmark-master
----.gitignore(162B)
----README.md(11KB)
----install-mono.sh(385B)
----install-dmd.sh(519B)
----LICENSE(1KB)
----.flake8rc(93B)
----benchmark(60KB)
----install-compilers-on-ubuntu-20.04.sh(526B)