arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.00918cs.SEcs.LGcs.PF
收藏

PACE:面向持续性能预测的程序分析框架

PACE: A Program Analysis Framework for Continuous Performance Prediction

University of Massachusetts Dartmouth(马萨诸塞大学达特茅斯分校)

Chidera Biringa, Gokhan Kul

AI总结:

PACE框架通过将功能测试执行时间映射为微基准,并结合代码风格特征进行性能预测,实现对代码更新性能影响的持续反馈,性能超越现有方法75%。

摘要:

软件开发团队建立包含自动化测试用例的精细持续集成流水线,以加速软件开发过程。自动化测试有助于验证代码修改的正确性,缩短对需求变更的响应时间。然而,当软件团队不跟踪待处理修改的性能影响时,他们可能需要花费大量时间重构现有代码。本文提出PACE,一个程序分析框架,可对待处理代码更新的性能影响提供持续反馈。我们通过映射给定代码更新下功能测试用例的执行时间来设计性能微基准。我们将微基准映射到代码风格特征,并将其输入预测器以进行性能预测。我们的实验在预测代码性能方面取得了显著效果,在神经表示的代码风格特征上比当前最先进方法高出75%。

英文摘要:

Software development teams establish elaborate continuous integration pipelines containing automated test cases to accelerate the development process of software. Automated tests help to verify the correctness of code modifications decreasing the response time to changing requirements. However, when the software teams do not track the performance impact of pending modifications, they may need to spend considerable time refactoring existing code. This paper presents PACE, a program analysis framework that provides continuous feedback on the performance impact of pending code updates. We design performance microbenchmarks by mapping the execution time of functional test cases given a code update. We map microbenchmarks to code stylometry features and feed them to predictors for performance predictions. Our experiments achieved significant performance in predicting code performance, outperforming current state-of-the-art by 75% on neural-represented code stylometry features.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑