一句话:实证研究手册与源码两种信息模态在配置性能分析中的作用,发现融合二者更优且现有单模态工具远逊人工。
配置选项深刻影响软件性能,而配置性能分析依赖手册或源码作为信息模态。两类工作各自主张自然性、信息丰富性或结构信息与时序性优势,但其作用尚不明确。本文对10个系统开展大规模实证研究,覆盖1,694个选项、手册106,798词与源码22,859,552行,考察两种模态在性能敏感选项识别与相关依赖抽取两项任务中的效用。结果表明:融合手册与源码对两项任务均有益;当前依赖单一模态的自动化工具距实用尚远,通常无法与人工分析相比。这些发现为推进配置性能分析提供了新见解。
Configuration in software systems helps to ensure efficient operation and meet diverse user needs. Yet, some, if not all, configuration options have profound implications for the system's performance. Configuration performance analysis, wherein the key is to understand (or infer) the configuration options' relations and their impacts on performance, is crucial. Two major modalities exist that serve as the source information in the analysis: either the manual or source code. However, it remains unclear what roles they play in configuration performance analysis. Much work that relies on manuals claims their benefits of information richness and naturalness; while work that trusts the source code more prefers the structural information provided therein and criticizes the timeliness of manuals. To fill such a gap, in this paper, we conduct an extensive empirical study over 10 systems, covering 1,694 options, 106,798 words in the manual, and 22,859,552 lines-of-code for investigating the usefulness of manual and code in two important tasks of configuration performance analysis, namely performancesensitive options identification and the associated dependencies extraction. We reveal several new findings and insights, such as it is beneficial to fuse the manual and code modalities for both tasks; the current automated tools that rely on a single modality are far from being practically useful and generally remain incomparable to human analysis. All those pave the way for further advancing configuration performance analysis.