Feature-Specific Profiling

Feature-Specific Profiling
复制标题

特定功能的分析

DOI:
--
复制
发表时间:
2018
影响因子:
1.3
通讯作者:
M. Felleisen
M. Felleisen
中科院分区:
计算机科学2区
文献类型:
--
作者:
Leif Andersen;Vincent St;J. Vitek;M. Felleisen

文献摘要

被引文献

相似文献

虽然高级语言具有显著的可读性和可维护性优势,但它们的性能仍然难以预测。例如,程序员可能在不知情的情况下不恰当地使用语言特性,这导致他们的程序运行速度比预期的要慢。为了解决这个问题,我们引入了特定于功能的分析,这是一种根据语言结构报告性能成本的技术。特定于功能的分析器帮助程序员发现他们语言中特定功能的昂贵使用。我们描述了实现我们方法的分析器的体系结构,解释了具有不同特征和实现策略的两种语言分析器的原型,并提供了该方法作为性能调试工具的一般用途的经验证据。
While high-level languages come with significant readability and maintainability benefits, their performance remains difficult to predict. For example, programmers may unknowingly use language features inappropriately, which cause their programs to run slower than expected. To address this issue, we introduce feature-specific profiling, a technique that reports performance costs in terms of linguistic constructs. Feature-specific profilers help programmers find expensive uses of specific features of their language. We describe the architecture of a profiler that implements our approach, explain prototypes of the profiler for two languages with different characteristics and implementation strategies, and provide empirical evidence for the approach’s general usefulness as a performance debugging tool.