The impact of optional type information on jit compilation of dynamically typed languages

DLS(2012)

引用 25|浏览73
暂无评分
摘要
Optionally typed languages enable direct performance comparisons between untyped and type annotated source code. We present a comprehensive performance evaluation of two different JIT compilers in the context of ActionScript, a production-quality optionally typed language. One JIT compiler is optimized for quick compilation rather than JIT compiled code performance. The second JIT compiler is a more aggressively optimizing compiler, performing both high-level and low-level optimizations. We evaluate both JIT compilers directly on the same benchmark suite, measuring their performance changes across fully typed, partially typed, and untyped code. Such evaluations are especially relevant to dynamically typed languages such as JavaScript, which are currently evaluating the idea of adding optional type annotations. We demonstrate that low-level optimizations rarely accelerate the program enough to pay back the investment into performing them in an optionally typed language. Our experiments and data demonstrate that high-level optimizations are required to improve performance by any significant amount.
更多
查看译文
关键词
optional type information,direct performance comparison,comprehensive performance evaluation,optimizing compiler,performance change,different jit compiler,production-quality optionally,jit compilation,low-level optimizations,jit compiler,high-level optimizations,code performance,source code,actionscript,dynamic compilation,dynamic typing,type inference
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要