Skip to content

Commit

Permalink
Increase number of benchmark runs
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Sep 16, 2024
1 parent 0de3343 commit 9942c41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extra/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BINARY="../target/$TRIPLET/release/tex-fmt"
cargo pgo build

hyperfine --warmup 10 \
--min-runs 50 \
--min-runs 200 \
--command-name "tex-fmt" \
--prepare "cp -r ../tests/* $DIR" \
"$BINARY $DIR/source/* $DIR/target/*"
Expand Down
4 changes: 2 additions & 2 deletions extra/perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo
# tex-fmt
TEXFMTFILE="hyperfine-tex-fmt.csv"
hyperfine --warmup 10 \
--min-runs 50 \
--min-runs 100 \
--export-csv $TEXFMTFILE \
--command-name "tex-fmt" \
--prepare "cp -r ../tests/* $DIR" \
Expand All @@ -26,7 +26,7 @@ hyperfine --warmup 10 \
# tex-fmt (no pgo)
TEXFMTNOPGOFILE="hyperfine-tex-fmt-nopgo.csv"
hyperfine --warmup 10 \
--min-runs 50 \
--min-runs 100 \
--export-csv $TEXFMTNOPGOFILE \
--command-name "tex-fmt (no PGO)" \
--prepare "cp -r ../tests/* $DIR" \
Expand Down

0 comments on commit 9942c41

Please sign in to comment.