Files
spring-boot-demo/aot-cache/run.sh
T
Claude 3e2029ab3a Add aot-cache module: the JDK 25 AOT cache on Spring Boot 4.1 vs AppCDS, Spring AOT and GraalVM native
A Spring Boot 4.1.1 order service started 12 ways (plain and extracted jar, Spring AOT output, AppCDS, AOT cache trained with and without traffic, JDK 27, native image), ten interleaved rounds each, with first-request latency; 24 cache-mismatch cases; Docker layer arithmetic. Transcripts are in output/ (no docs/ folder).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TF9JWFvJSNm6HVzswzZU5a
2026-09-24 16:44:16 +00:00

16 lines
1017 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates everything under output/. Takes about 30 minutes; the native build alone is about 5.
# Needs JDK 25, JDK 27, a GraalVM for JDK 25 and Maven (paths: scripts/env.sh). Use the machine for nothing else while it runs.
cd "$(dirname "$0")" || exit 1
source scripts/env.sh
ROUNDS=${ROUNDS:-10}
mkdir -p output
bash scripts/prepare.sh > output/00-prepare.txt 2>&1
bash scripts/environment.sh > output/00-environment.txt 2>&1
bash scripts/native.sh > output/03-native-build.txt 2>&1
bash scripts/train.sh > output/01-training.txt 2>&1
bash scripts/startup.sh "$ROUNDS" > output/02-startup.txt 2> "$WORK/startup.err"
bash scripts/mismatch.sh > output/04-mismatch.txt 2>&1
bash scripts/layers.sh > output/05-layers.txt 2>&1
bash scripts/sample.sh > output/06-sample-endpoints.txt 2>&1