Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
17 lines
851 B
Bash
Executable File
17 lines
851 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates everything in output/. Needs JDK 25 on PATH. The native step needs GraalVM 25 (set GRAALVM_HOME) and is skipped without it.
|
|
set -eu
|
|
source "$(dirname "$0")/lib.sh"
|
|
cd "$ROOT"
|
|
mvn -B -q install # tests write output/11,12,21,22
|
|
scripts/wire.sh > /dev/null # output/30-wire-summary.txt and output/wire/*
|
|
start_stub
|
|
RUNS="${RUNS:-7}" ONLY=quarkus-jvm,spring-jvm python3 scripts/bench.py > output/40-bench-jvm.txt
|
|
if [ -n "${GRAALVM_HOME:-}" ]; then
|
|
(cd quarkus-app && JAVA_HOME="$GRAALVM_HOME" PATH="$GRAALVM_HOME/bin:$PATH" mvn -B -q -DskipTests \
|
|
-Dquarkus.native.enabled=true -Dquarkus.native.native-image-xmx=3g package)
|
|
RUNS="${RUNS:-7}" ONLY=quarkus-native python3 scripts/bench.py > output/41-bench-native.txt
|
|
fi
|
|
kill_jar "$STUB_JAR"
|
|
ls -la output
|