Quantifying Daily Evolution of Mobile Software Based on Memory Allocator Churn
Abstract
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.
Cite
@article{arxiv.2203.04394,
title = {Quantifying Daily Evolution of Mobile Software Based on Memory Allocator Churn},
author = {Gunnar Kudrjavets and Jeff Thomas and Aditya Kumar and Nachiappan Nagappan and Ayushi Rastogi},
journal= {arXiv preprint arXiv:2203.04394},
year = {2022}
}
Comments
5 pages. To be published in Proceedings of The 9th International Conference on Mobile Software Engineering and Systems (MobileSoft '22). ACM, New York, NY, USA