Add quarkus-vs-spring-ai module: the same support assistant (system prompt, tool, RAG) built with Quarkus LangChain4j and Spring AI against a stub OpenAI-compatible server, with wire-format capture, startup/memory benchmarks and a Quarkus native image
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
f4f90b3b30
commit
5e5326c810
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user