From 4293b2526266935b0ea2f86515217d277c1e4d2a Mon Sep 17 00:00:00 2001 From: merlin Date: Tue, 1 Oct 2024 15:25:24 +0300 Subject: [PATCH] decrease number of samples in go benchmark --- internal/sanitize/benchmmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sanitize/benchmmark.sh b/internal/sanitize/benchmmark.sh index 87e7e0a1..06842c0a 100644 --- a/internal/sanitize/benchmmark.sh +++ b/internal/sanitize/benchmmark.sh @@ -48,7 +48,7 @@ for i in "${!commits[@]}"; do # Benchmark data will go there bench_file="${benchmarks_dir}/${i}_${commit_message}.bench" - if ! go test -bench=. -count=25 >"$bench_file"; then + if ! go test -bench=. -count=10 >"$bench_file"; then echo "Benchmarking failed for commit $commit" exit 1 fi