Skip to content

Commit 0923cb1

Browse files
committed
reduce benchmark time
1 parent 091b0f8 commit 0923cb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benchmark/benchmark.nu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ export def run-hyperfine [
122122
--export-markdown ../benchmark.md
123123
--warmup 1
124124
--style color
125+
--runs 5
125126
]
126-
let common_args = "-l 0 -a 0 -i=|!src/libgit2 -p build"
127+
let common_args = "-l 0 -a 0 -i=|!src/libgit2 -p build -e c"
127128
if ($old_path | is-not-empty) {
128129
$hyperfine_args = $hyperfine_args | append [--command-name python-pure $"($old_path) ($common_args) -j 0"]
129130
}

0 commit comments

Comments
 (0)