diff --git a/Makefile b/Makefile index daaaa1eba3396..27ae71aec6e48 100644 --- a/Makefile +++ b/Makefile @@ -943,14 +943,14 @@ endif test-go-bench: PACKAGES = $(shell grep --exclude-dir api --include "*_test.go" -lr testing.B . | xargs dirname | xargs go list | sort -u) test-go-bench: BENCHMARK_SKIP_PATTERN = "^BenchmarkRoot" test-go-bench: | $(TEST_LOG_DIR) - go test -run ^$$ -bench . -skip $(BENCHMARK_SKIP_PATTERN) -count=6 $(PACKAGES) \ + go test -run ^$$ -bench . -skip $(BENCHMARK_SKIP_PATTERN) -benchtime=6x $(PACKAGES) \ | tee $(TEST_LOG_DIR)/bench.txt test-go-bench-root: PACKAGES = $(shell grep --exclude-dir api --include "*_test.go" -lr BenchmarkRoot . | xargs dirname | xargs go list | sort -u) test-go-bench-root: BENCHMARK_PATTERN = "^BenchmarkRoot" test-go-bench-root: BENCHMARK_SKIP_PATTERN = "" test-go-bench-root: | $(TEST_LOG_DIR) - go test -run ^$$ -bench $(BENCHMARK_PATTERN) -skip $(BENCHMARK_SKIP_PATTERN) -count=6 $(PACKAGES) \ + go test -run ^$$ -bench $(BENCHMARK_PATTERN) -skip $(BENCHMARK_SKIP_PATTERN) -benchtime=6x $(PACKAGES) \ | tee $(TEST_LOG_DIR)/bench.txt # Make sure untagged vnetdaemon code build/tests.