A Large-Scale Empirical Study of Real-Life Performance Issues in Open Source Projects

计算机科学 Python(编程语言) Java 软件 比例(比率) 程序设计语言 量子力学 物理
作者
Yutong Zhao,Lu Xiao,André B. Bondi,Bihuan Chen,Yang Liu
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:49 (2): 924-946 被引量:35
标识
DOI:10.1109/tse.2022.3167628
摘要

Software performance is a critical quality attribute that determines the success of a software system. However, practitioners lack comprehensive and holistic understanding of how real-life performance issues are caused and resolved in practice from the technical, engineering, and economic perspectives. This paper presents a large-scale empirical study of 570 real-life performance issues from 13 open source projects from various problem domains, and implemented in three popular programming languages, Java (192 issues), C/C++ (162 issues), and Python (216 issues). From the technical perspective, we summarizeeightgeneral types of performance issues with corresponding root causes and resolutions that apply for all three languages. We also identify available tools for detecting and resolving different types of issues from the literature. In addition, we found that 27% of the 570 issues are resolved by design-level optimization—coordinated revision of a group of related source files and their design structure. We reveal four typical design-level optimization patterns, includingclassic design patterns,change propagation,optimization clone, andparallel optimizationthat practitioners should be aware of in resolving performance issues. From the engineering perspective, this study analyzes how test code changes in performance optimization. We found that only 15% of the 570 performance issues involve revision of test code. In most cases, the revised test cases focus on the functional logic of the performance optimization, rather than directly evaluate the performance improvement. This finding points to the potential lack of engineering standard for formally verifying performance optimization in regression testing. Finally, from the economic perspective, we analyze the“Return On Investment”of performance optimization. We found that design-level optimization usually requires more investment, but not always yields to higher performance improvement. However, developers tend to use design-level optimization when they concern about other quality attributes, such as maintainability and readability.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
n文献o完成签到,获得积分10
2秒前
CC完成签到 ,获得积分10
2秒前
2秒前
2秒前
2秒前
3秒前
大耳朵图图完成签到 ,获得积分10
4秒前
5秒前
余香的应助被予秋采纳,获得10
5秒前
oo完成签到,获得积分10
5秒前
7秒前
7秒前
Orange的应助被红豆鲫鱼饼采纳,获得10
7秒前
yshog发布了新的文献求助10
7秒前
帅狗完成签到,获得积分10
7秒前
CipherSage的应助被小丑恐龙采纳,获得20
8秒前
8秒前
大筒木因陀罗完成签到 ,获得积分10
8秒前
zhanghang发布了新的文献求助10
8秒前
小小完成签到 ,获得积分10
9秒前
耿耿发布了新的文献求助10
9秒前
9秒前
41651653发布了新的文献求助10
10秒前
QQ发布了新的文献求助10
11秒前
12秒前
完美世界的应助被wyab采纳,获得10
12秒前
zenzero完成签到,获得积分10
13秒前
14秒前
wch完成签到 ,获得积分10
14秒前
14秒前
背后寒烟完成签到 ,获得积分10
14秒前
15秒前
打打的应助被机智小夏采纳,获得10
16秒前
17秒前
鳗鱼铭发布了新的文献求助10
17秒前
科目三的应助被枫丶采纳,获得10
17秒前
加速度完成签到,获得积分10
17秒前
RosecLuo完成签到 ,获得积分10
17秒前
帅狗发布了新的文献求助10
18秒前
情怀的应助被芙氟采纳,获得10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 2000
Handbook of Sport Coaching Research 1000
Orthognathic Surgery - 2 Volume Set 500
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
基于结构调控的功能化水诱导发电材料与器件研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8193348
求助须知:如何正确求助?哪些是违规求助? 9579548
关于积分的说明 21866040
捐赠科研通 7792906
什么是DOI,文献DOI怎么找? 3437242
关于科研通互助平台的介绍 2560702
邀请新用户注册赠送积分活动 2484066