Skip to content

Commit ca24f92

Browse files
committed
no-cache for benchmarks
1 parent f47d8a4 commit ca24f92

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci_zig_benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build main branch release binary and snapshot tool
3333
uses: ./.github/actions/flaky-retry
3434
with:
35-
command: "nix develop ./src/ -c bash -c 'zig build release snapshot -Doptimize=ReleaseFast'"
35+
command: "nix develop ./src/ -c bash -c 'zig build release snapshot'"
3636
error_string_contains: "build.zig.zon"
3737
retry_count: 3
3838

@@ -51,7 +51,7 @@ jobs:
5151
- name: Build PR branch release binary and snapshot tool
5252
uses: ./.github/actions/flaky-retry
5353
with:
54-
command: "nix develop ./src/ -c bash -c 'zig build release snapshot -Doptimize=ReleaseFast'"
54+
command: "nix develop ./src/ -c bash -c 'zig build release snapshot'"
5555
error_string_contains: "build.zig.zon"
5656
retry_count: 3
5757

ci/benchmarks_zig/run_fx_benchmarks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ for fx_file in $FX_FILES; do
103103
--show-output \
104104
--export-json "/tmp/bench_${filename}.json" \
105105
$EXTRA_ARGS \
106-
-n "main" "$MAIN_ROC $fx_file" \
107-
-n "pr" "$PR_ROC $fx_file" \
106+
-n "main" "$MAIN_ROC $fx_file --no-cache" \
107+
-n "pr" "$PR_ROC $fx_file --no-cache" \
108108
2>&1; then
109109
echo "ERROR: Benchmark failed for $filename"
110110
exit 1

0 commit comments

Comments
 (0)