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
This commit is contained in:
Claude
2026-09-24 16:44:16 +00:00
parent fa4205f631
commit 3e2029ab3a
30 changed files with 1023 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/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