基于内存分配器流失的移动软件日常演化量化
Quantifying Daily Evolution of Mobile Software Based on Memory Allocator Churn
摘要:
发展现代软件系统所必需的代码变动的速度和数量为分析任何一组代码更改的性能影响提出了挑战。性能分析中使用的传统方法依赖于广泛的数据汇集和分析,这通常需要数天时间。对于使用持续集成(CI)和持续部署(CD)的大型组织,这些传统技术通常无法提供及时和可操作的数据。需要一种不同的影响分析方法,可以更有效地检测性能回归。我们提出利用用户模式内存分配器流失作为性能工程的一种新方法。用户模式分配器流失作为代理度量来评估特定任务成本的相对变化。我们在为一个主要的iOS应用程序进行性能工程时,对内存分配流失方法进行了原型化。我们发现,计算和分析内存分配器流失(a)的结果在确定性的测量,(b)是有效的,用于确定个人的性能回归和一般的性能相关的趋势的存在,和(c)是一个合适的替代测量任务完成时间。
英文摘要:
The pace and volume of code churn necessary to evolve modern software systems present challenges for analyzing the performance impact of any set of code changes. Traditional methods used in performance analysis rely on extensive data collection and profiling, which often takes days. For large organizations utilizing Continuous Integration (CI) and Continuous Deployment (CD), these traditional techniques often fail to provide timely and actionable data. A different impact analysis method that allows for more efficient detection of performance regressions is needed. We propose the utilization of user mode memory allocator churn as a novel approach to performance engineering. User mode allocator churn acts as a proxy metric to evaluate the relative change in the cost of specific tasks. We prototyped the memory allocation churn methodology while engaged in performance engineering for a major iOS application. We find that calculating and analyzing memory allocator churn (a) results in deterministic measurements, (b) is efficient for determining the presence of both individual performance regressions and general performance-related trends, and (c) is a suitable alternative to measuring the task completion time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。