Analysing Static Source Code Features to Determine a Correlation to Steady State Performance in Java Microbenchmarks

Jared Chad Swanzen, Kyle Thomas Botes, Husnaa Molvi, Omphile Monchwe, Dan Phala, Dustin Van Der Haar

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Source code analysis is an important aspect of software development that provides insight into a program's quality, security and performance. There are few methods for consistently predicting or determining when a written piece of code will end its warm-up state and proceed to a steady state. In this study, we use the data gathered by the SEALABQualityGroup at the University of L'Aquila and Charles University and extend their research of steady state analysis to determine whether certain source code features could provide a basis for developers to make more informed predictions on when a steady state would occur. We explore if there is a direct correlation between source code features on the time and ability of a Java microbenchmark to reach a steady state to build a machine learning-based approach for steady-state prediction. We found that the correlation between source code features and the probability of reaching a steady state go as high as 10.9% for Pearson's correlation coefficient, whereas the correlation between source code features and the time it takes to reach a steady state go as high as 21.6% for Spearman's correlation coefficient. Our results also show that a K Nearest Neighbour Classifier with features selected with either Spearman's or Kendall's correlation coefficient boasts an accuracy of 78.6%.

Original languageEnglish
Title of host publicationICPE 2023 - Companion of the 2023 ACM/SPEC International Conference on Performance Engineering
PublisherAssociation for Computing Machinery, Inc
Pages89-93
Number of pages5
ISBN (Electronic)9798400700729
DOIs
Publication statusPublished - 15 Apr 2023
Event14th Annual ACM/SPEC International Conference on Performance Engineering, ICPE 2023 - Coimbra, Portugal
Duration: 15 Apr 202319 Apr 2023

Publication series

NameICPE 2023 - Companion of the 2023 ACM/SPEC International Conference on Performance Engineering

Conference

Conference14th Annual ACM/SPEC International Conference on Performance Engineering, ICPE 2023
Country/TerritoryPortugal
CityCoimbra
Period15/04/2319/04/23

Keywords

  • ANTLR
  • correlation coefficient
  • correlation study
  • Java microbenchmark
  • Kendall's tau
  • machine-learning
  • Pearson's r
  • Spearman's roh
  • static source code analysis
  • steady state

ASJC Scopus subject areas

  • Computer Science Applications
  • Hardware and Architecture
  • Software

Fingerprint

Dive into the research topics of 'Analysing Static Source Code Features to Determine a Correlation to Steady State Performance in Java Microbenchmarks'. Together they form a unique fingerprint.

Cite this