Cross-language compiler benchmarking: are we fast yet?
Cross-language compiler benchmarking: are we fast yet?
复制标题
跨语言编译器基准测试:我们快了吗?
DOI:
--
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
H. Mössenböck
中科院分区:
文献类型:
--
作者:
Stefan Marr;Benoit Daloze;H. Mössenböck
Comparing the performance of programming languages is difficult because they differ in many aspects including preferred programming abstractions, available frameworks, and their runtime systems. Nonetheless, the question about relative performance comes up repeatedly in the research community, industry, and wider audience of enthusiasts. This paper presents 14 benchmarks and a novel methodology to assess the compiler effectiveness across language implementations. Using a set of common language abstractions, the benchmarks are implemented in Java, JavaScript, Ruby, Crystal, Newspeak, and Smalltalk. We show that the benchmarks exhibit a wide range of characteristics using language-agnostic metrics. Using four different languages on top of the same compiler, we show that the benchmarks perform similarly and therefore allow for a comparison of compiler effectiveness across languages. Based on anecdotes, we argue that these benchmarks help language implementers to identify performance bugs and optimization potential by comparing to other language implementations.