Skip to content

Commit 39d53cd

Browse files
committed
only pass log gz files to profile for PGO
1 parent 2022ca3 commit 39d53cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/bench

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [[ -n "${PGO:-}" ]]; then
2525
cargo build --release --bin kirby
2626

2727
# STEP 2: Run the instrumented binaries with some typical data
28-
ls logs/* | xargs -L1 target/release/kirby
28+
ls logs/*.gz | xargs -I{} target/release/kirby "{}"
2929

3030
# STEP 3: Merge the `.profraw` files into a `.profdata` file
3131
$LLVM_PROFDATA merge -o /tmp/pgo-data/merged.profdata /tmp/pgo-data

0 commit comments

Comments
 (0)