Skip to content

Commit

Permalink
use separate variable name for benchmark 'size' in makefile to avoid …
Browse files Browse the repository at this point in the history
…altering default test size (#3806)

Signed-off-by: Jeremiah Corrado <[email protected]>
  • Loading branch information
jeremiah-corrado authored Oct 1, 2024
1 parent 9cfbcab commit a44dd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -568,10 +568,10 @@ CLEAN_TARGETS += test-clean
test-clean:
$(RM) $(TEST_TARGETS) $(addsuffix _real,$(TEST_TARGETS))

size = 10**8
size_bm = 10**8
.PHONY: benchmark
benchmark:
python3 -m pytest -c benchmark.ini --benchmark-autosave --benchmark-storage=file://benchmark_v2/.benchmarks --size=$(size)
python3 -m pytest -c benchmark.ini --benchmark-autosave --benchmark-storage=file://benchmark_v2/.benchmarks --size=$(size_bm)

version:
@echo $(VERSION);
Expand Down

0 comments on commit a44dd0f

Please sign in to comment.