Skip to content

Commit 36693bf

Browse files
committed
Fix benchmark run
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent f4db207 commit 36693bf

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
run: just python python-test
111111

112112
- name: Python SDK Fuzz
113-
run: just fuzz 90
113+
run: just fuzz 30
114114

115115
- name: Python SDK Benchmark
116116
run: just benchmark

‎src/sdk/python/Justfile‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@ python-install-backend-wasm:
2626
cd {{repo-root}}/src/sdk/python/wasm_backend && {{ wit-world }} uv run --no-sync maturin develop
2727

2828
python-install-backend-wasm-release:
29-
# Remove cached build-script output for hyperlight-wasm so that the
30-
# wasm-runtime guest binary is rebuilt for the release profile.
31-
# Without this, cargo may reuse a stale debug-mode cache entry and
32-
# skip building the release binary (upstream missing rerun-if-env-changed=PROFILE).
33-
rm -rf {{repo-root}}/src/sdk/python/wasm_backend/target/release/build/hyperlight-wasm-*
29+
# Remove cached build-script output so the runtime binary is rebuilt
30+
# for the release profile. The debug build may have left stale
31+
# fingerprints that prevent the build script from re-running.
32+
rm -rf {{repo-root}}/target/release/build/hyperlight-wasm-* \
33+
{{repo-root}}/target/release/.fingerprint/hyperlight-wasm-*
3434
cd {{repo-root}}/src/sdk/python/wasm_backend && {{ wit-world }} uv run --no-sync maturin develop --release
3535

3636
python-install-backend-hyperlight-js:
3737
cd {{repo-root}}/src/sdk/python/hyperlight_js_backend && uv run --no-sync maturin develop
3838

3939
python-install-backend-hyperlight-js-release:
40+
rm -rf {{repo-root}}/target/release/build/hyperlight-js-* \
41+
{{repo-root}}/target/release/.fingerprint/hyperlight-js-*
4042
cd {{repo-root}}/src/sdk/python/hyperlight_js_backend && uv run --no-sync maturin develop --release
4143

4244
python-build: python-sync-guest-resources python-sync-env python-install-backend-wasm python-install-backend-hyperlight-js

0 commit comments

Comments
 (0)