Files
javademos/crac/scripts/bench.sh
T
asmhatreandClaude Sonnet 5.5 c0062ea398 Add crac module: Spring Boot 4.2 started by CRaC checkpoint/restore vs JDK AOT cache vs native image
One service, seven start-up configurations measured over ten interleaved rounds on Temurin 25, Zulu 25 CRaC and Oracle GraalVM 25;
the open-file checkpoint failure and its fix, stale environment values, secrets in the checkpoint, warp and CRIU engines, cold page cache.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
2026-11-29 13:51:08 +05:30

7 lines
475 B
Bash
Executable File

#!/usr/bin/env bash
# Interleaved rounds of every start-up configuration; "ready" = spawn -> first HTTP 200 from GET /ping.
# Needs: build.sh, native.sh, checkpoints.sh already run. Usage: ./scripts/bench.sh [rounds]
source "$(dirname "$0")/lib.sh"
R="${1:-10}"
{ echo "rounds: $R load average before: $(cut -d' ' -f1-3 /proc/loadavg) cpus: $(nproc)"; $TOOL bench "$R" 2>/dev/null; echo "load average after: $(cut -d' ' -f1-3 /proc/loadavg)"; } | tee "$OUT/08-bench.txt"