Probabilistic Program Performance Analysis

被引:2
作者
Stefanakos, Ioannis [1 ]
Calinescu, Radu [1 ]
Gerasimou, Simos [1 ]
机构
[1] Univ York, Dept Comp Sci, York, N Yorkshire, England
来源
2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021) | 2021年
关键词
program quality analysis; software performance; quantitative models; probabilistic model checking; SOFTWARE SYSTEMS; MODEL; VERIFICATION;
D O I
10.1109/SEAA53835.2021.00027
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce a tool-supported method for the formal analysis of timing, resource use, cost and other quality aspects of computer programs. The new method synthesises a Markov-chain model of the analysed code, computes this quantitative model's transition probabilities using information from program logs, and employs probabilistic model checking to evaluate the performance properties of interest. Unlike existing solutions, our method can reuse the probabilistic model to accurately predict how the program performance would change if the code ran on a different hardware platform, used a new function library, or had a different usage profile. We show the effectiveness of our method by using it to analyse the performance of Java code from the Apache Commons Math library, the Android messaging app Telegram, and an implementation of the knapsack algorithm.
引用
收藏
页码:148 / 157
页数:10
相关论文
共 40 条
[1]  
Andova S, 2003, LECT NOTES COMPUT SC, V2791, P88
[2]  
[Anonymous], 2012, P 3 ACM SPEC INT C P
[3]   QDIME: QoS-aware Dynamic Binary Instrumentation [J].
Arafa, Pansy ;
Tchamgoue, Guy Martin ;
Kashif, Hany ;
Fischmeister, Sebastian .
2017 IEEE 25TH INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS), 2017, :132-142
[4]   Exploiting Queuing Networks to Model and Assess the Performance of Self-Adaptive Software Systems: A Survey [J].
Arcelli, Davide .
11TH INTERNATIONAL CONFERENCE ON AMBIENT SYSTEMS, NETWORKS AND TECHNOLOGIES (ANT) / THE 3RD INTERNATIONAL CONFERENCE ON EMERGING DATA AND INDUSTRY 4.0 (EDI40) / AFFILIATED WORKSHOPS, 2020, 170 :498-505
[5]   OPTIMALLY PROFILING AND TRACING PROGRAMS [J].
BALL, T ;
LARUS, JR .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (04) :1319-1360
[6]   Model-based performance prediction in software development: A survey [J].
Balsamo, S ;
Di Marco, A ;
Inverardi, P ;
Simeoni, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (05) :295-310
[7]  
Bartels B., 2012, Strategies to the prediction, mitigation and management of product obsolescence, V87
[8]   The Palladio component model for model-driven performance prediction [J].
Becker, Steffen ;
Koziolek, Heiko ;
Reussner, Ralf .
JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (01) :3-22
[9]  
Bennett K. H., 2000, P C FUT SOFTW ENG IC, P73, DOI [10.1145/336512.336534, DOI 10.1145/336512.336534]
[10]   Model-Counting Approaches for Nonlinear Numerical Constraints [J].
Borges, Mateus ;
Phan, Quoc-Sang ;
Filieri, Antonio ;
Pasareanu, Corina S. .
NASA FORMAL METHODS (NFM 2017), 2017, 10227 :131-138