paper-with-me

홈 › Papers

AI-driven Java Performance Testing: Balancing Result Quality with Testing Time

2024-08-09 · Luca Traini, Federico Di Menna, Vittorio Cortellessa

Performance testing aims at uncovering efficiency issues of software systems. In order to be both effective and practical, the design of a performance test must achieve a reasonable trade-off between result quality and testing time. This becomes particularly challenging in Java context, where the software undergoes a warm-up phase of execution, due to just-in-time compilation. During this phase, performance measurements are subject to severe fluctuations, which may adversely affect quality of performance test results. However, these approaches often provide suboptimal estimates of the warm-up phase, resulting in either insufficient or excessive warm-up iterations, which may degrade result quality or increase testing time. There is still a lack of consensus on how to properly address this problem. Here, we propose and study an AI-based framework to dynamically halt warm-up iterations at runtime. Specifically, our framework leverages recent advances in AI for Time Series Classification (TSC) to predict the end of the warm-up phase during test execution. We conduct experiments by training three different TSC models on half a million of measurement segments obtained from JMH microbenchmark executions. We find that our framework significantly improves the accuracy of the warm-up estimates provided by state-of-practice and state-of-the-art methods. This higher estimation accuracy results in a net improvement in either result quality or testing time for up to +35.3% of the microbenchmarks. Our study highlights that integrating AI to dynamically estimate the end of the warm-up phase can enhance the cost-effectiveness of Java performance testing.

📄 PDF Abstract BibTeX arXiv:2408.05100

Code (1)

spencerlabaq/aipt 공식 구현 pytorch

Tasks

Time Series Classification

Similar Papers 제목 키워드 기반

Automated Testing of COBOL to Java Transformation

2025-04-14 · Sandeep Hans, Atul Kumar, Toshikai Yasue, Kouichi Ono 외

Recent advances in Large Language Model (LLM) based Generative AI techniques have made it feasible to translate enterprise-level code from legacy languages such as COBOL to modern languages such as Java or Python. While …

Language ModelingLanguage ModellingLarge Language Model

OBsmith: LLM-Powered JavaScript Obfuscator Testing

2025-10-11 · Shan Jiang, Chenguang Zhu, Sarfraz Khurshid arxiv

JavaScript obfuscators are widely deployed to protect intellectual property and resist reverse engineering, yet their correctness has been largely overlooked compared to performance and resilience. Existing evaluations t…

LLMs for Automated Unit Test Generation and Assessment in Java: The AgoneTest Framework

2025-11-25 · Andrea Lops, Fedelucio Narducci, Azzurra Ragone, Michelantonio Trizio 외 arxiv

Unit testing is an essential but resource-intensive step in software development, ensuring individual code units function correctly. This paper introduces AgoneTest, an automated evaluation framework for Large Language M…

Prompt Engineering

Code Reborn AI-Driven Legacy Systems Modernization from COBOL to Java

2025-04-15 · Gopichand Bandarupalli

This study investigates AI-driven modernization of legacy COBOL code into Java, addressing a critical challenge in aging software systems. Leveraging the Legacy COBOL 2024 Corpus -- 50,000 COBOL files from public and ent…

Simulation-Driven Balancing of Competitive Game Levels with Reinforcement Learning

2025-03-24 · Florian Rupp, Manuel Eberhardinger, Kai Eckert

The balancing process for game levels in competitive two-player contexts involves a lot of manual work and testing, particularly for non-symmetrical game levels. In this work, we frame game balancing as a procedural cont…

Fairness