#!/usr/bin/env bash # The four things people reach for, measured on the same jar. # # no tracking : baseline, no ApplicationStartup installed # buffering : BufferingApplicationStartup(16384) -- what it costs to measure # jfr : FlightRecorderApplicationStartup + an active recording # lazy : spring.main.lazy-initialization=true # AOT cache : JDK 25 ahead-of-time cache (JEP 483/515), trained on this app set -uo pipefail source "$(dirname "$0")/env.sh" RUNS="${RUNS:-4}" run_variant() { # run_variant