2023 · ACM/SPEC ICPE Companion

Identification and Classification of JMH Microbenchmark States using Time Series Analysis

Tom Wallace | Beatrice M. Ombuki-Berman | Naser Ezzati-Jivan

Evidence basis: full-text-reviewed · Review status: catalog-reviewed; paper-author approval pending

performance-analysis performance-engineering anomaly-detection machine-learning

Java Microbenchmark Harness JMH benchmark states steady state warmup Matrix Profile motifs discords PELT change points Stumpy Ruptures time-series analysis

Core contribution: The paper uses time-series analysis to identify and classify warmup, steady-state, and anomalous states in Java JMH microbenchmarks.

Problem and motivation

JMH measurements can contain warmup, steady-state, and anomalous phases; default/manual warmup choices do not reliably identify when stable behavior begins (pp. 1-2).

Method and contribution

Matrix Profile motif/discord analysis is applied to JMH time series with Python Stumpy and compared with PELT change-point detection using Python Ruptures. RQ1 compares Matrix Profile minimum/maximum/mean for 497 steady-state and 235 non-steady-state forks using an unequal-variance two-sample t-test. RQ2 uses mean/standard-deviation anomaly heuristics and treats the first 30 iterations as warmup. RQ3 scores change points falling inside motif/discord windows (pp. 2-4).

Findings and evidence

RQ1 reports statistically significant differences (p < .05): steady-state benchmarks have lower Matrix Profile minimum, maximum, and mean. Matrix Profile identifies isolated spikes but can miss anomalies dominating most of a series. In the RQ3 table, 305 steady-state cases are split into 123 none/123 potential/59 noticeable correlations; 185 non-steady cases are split into 44/93/48 (pp. 3-4).

Limitations and future directions

Limitations: RQ2 is explicitly qualitative; the paper warns of Matrix Profile blind spots and possible errors/inconsistencies in the Python translation of the reference steady-state detector. JVM version, hardware, and OS details for the benchmark corpus: unknown.

Future work: Compare window sizes, classification functions, and larger numbers of motifs/discords; compare with industry-standard approaches (pp. 3-4).

Resources

Sources and identifiers

When to cite this paper

Cite this paper when your work uses or compares matrix Profile motifs/discords as a time-series method for identifying JMH steady-state structure and isolated anomalies.

Citation

BibTeX
@inproceedings{ezzatiJivan2023identificationand,
  author = {Tom Wallace and Beatrice M. Ombuki-Berman and Naser Ezzati-Jivan},
  title = {Identification and Classification of JMH Microbenchmark States using Time Series Analysis},
  year = {2023},
  booktitle = {ACM/SPEC ICPE Companion},
  pages = {101-105},
  publisher = {ACM},
  doi = {10.1145/3578245.3584694},
  url = {https://doi.org/10.1145/3578245.3584694}
}
Other citation formats for Word and reference managers
APA 7
Wallace, T., Ombuki-Berman, B. M., & Ezzati-Jivan, N. (2023). Identification and Classification of JMH Microbenchmark States using Time Series Analysis. In ACM/SPEC ICPE Companion (pp. 101-105). https://doi.org/10.1145/3578245.3584694
IEEE
T. Wallace, B. M. Ombuki-Berman, and N. Ezzati-Jivan, "Identification and Classification of JMH Microbenchmark States using Time Series Analysis," in ACM/SPEC ICPE Companion, pp. 101-105, 2023, doi: 10.1145/3578245.3584694

Readable Markdown record · JSON record · Download RIS