A Framework for Minimising Java Microbenchmark Suites - A Metric-Based Approach

dc.contributor.authorDarin Nordqvist, Filip
dc.contributor.authorOtterlind, Rasmus
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerGay, Gregory
dc.contributor.supervisorLeitner, Philipp
dc.date.accessioned2024-09-10T15:11:17Z
dc.date.available2024-09-10T15:11:17Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractPerformance is an important non-functional requirement. The success of software projects is highly dependent on the adequate performance of the software. However, one fundamental problem with performance testing is that it can become immensely time-consuming to conduct. In this paper, several different code metrics were explored and used for conducting test case minimization (TCM) of Java Microbenchmark Harness (JMH) suites. The microbenchmark suites were created with a tool called ju2jmh, which creates microbenchmark suites based on already existing unit testing suites of a project. The metrics used for conducting TCM were lines of code (LOC), loop count, cyclomatic complexity, and the combination of these metrics. The results indicate that suites derived using LOC and loop count performed worse than randomly sampled suites, while suites derived from the cyclomatic metric and the combination of LOC, loop count, and cyclomatic complexity performed similar or slightly worse than randomly sampled suites. Furthermore, it is not infeasible to assume that if these metrics were refined by utilising dynamic techniques, some of them could potentially outperform randomly sampled suites consistently.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/308566
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectPerformance testing
dc.subjectJava Michrobenchmark Harness
dc.subjectTest case minimisation
dc.subjectArtificial slowdowns
dc.subjectCode coverage
dc.subjectComputational complexity
dc.subjectCyclomatic complexity
dc.subjectStatic code analysis
dc.titleA Framework for Minimising Java Microbenchmark Suites - A Metric-Based Approach
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-16 FDN RO.pdf
Storlek:
1.84 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: