mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
Use production profile in benchmark script
This commit is contained in:
parent
82c7156fd2
commit
f18b9ba50b
1 changed files with 3 additions and 3 deletions
|
|
@ -53,11 +53,11 @@ if [ ! -f "$TEMPLATE_PATH" ]; then
|
|||
fi
|
||||
|
||||
# Build the runtime WASM
|
||||
echo -e "${YELLOW}Building runtime $RUNTIME with features: $FEATURES${NC}"
|
||||
cargo build --release --features "$FEATURES" -p datahaven-$RUNTIME-runtime
|
||||
echo -e "${YELLOW}Building runtime $RUNTIME (production profile) with features: $FEATURES${NC}"
|
||||
cargo build --profile production --features "$FEATURES" -p datahaven-$RUNTIME-runtime
|
||||
|
||||
# Get the WASM path
|
||||
WASM_PATH="target/release/wbuild/datahaven-$RUNTIME-runtime/datahaven_${RUNTIME}_runtime.compact.compressed.wasm"
|
||||
WASM_PATH="target/production/wbuild/datahaven-$RUNTIME-runtime/datahaven_${RUNTIME}_runtime.compact.compressed.wasm"
|
||||
|
||||
if [ ! -f "$WASM_PATH" ]; then
|
||||
echo -e "${RED}Error: WASM runtime not found at $WASM_PATH${NC}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue