make: Renamed test/benchmarks -> test/bench-marks

To hopefully make it more clear these are test/bench-dependent, and to
try to be consistent with other make bench-runner, bench-list, etc,
rules.

It felt weird to type this without a hyphen now.

Also renamed test/benchmarks-bottlenecks -> test/bench-bottlenecks,
which is considerably less of a mouthful.
This commit is contained in:
Christopher Haster
2026-02-03 17:19:42 -06:00
parent 0cd2b1aaa9
commit f52ef58cf0
+20 -20
View File
@@ -525,9 +525,9 @@ test-list list-tests: test-runner
./scripts/test.py -R$(TEST_RUNNER) $(TESTFLAGS) -l ./scripts/test.py -R$(TEST_RUNNER) $(TESTFLAGS) -l
## Summarize the test results ## Summarize the test results
.PHONY: testmarks .PHONY: test-marks
testmarks: SUMMARYFLAGS+=-Si test-marks: SUMMARYFLAGS+=-Si
testmarks: $(TEST_CSV) test-marks: $(TEST_CSV)
$(strip ./scripts/csv.py $^ \ $(strip ./scripts/csv.py $^ \
-bsuite \ -bsuite \
-Fi='min(enumerate())' \ -Fi='min(enumerate())' \
@@ -536,12 +536,12 @@ testmarks: $(TEST_CSV)
$(SUMMARYFLAGS)) $(SUMMARYFLAGS))
## Save the test results with TESTMARKS ## Save the test results with TESTMARKS
.PHONY: testmarks-csv .PHONY: test-marks-csv
testmarks-csv: $(BUILDDIR)/lfs3.test.csv test-marks-csv: $(BUILDDIR)/lfs3.test.csv
## Compare test results against a previous run ## Compare test results against a previous run
.PHONY: testmarks-diff .PHONY: test-marks-diff
testmarks-diff: $(TEST_CSV) test-marks-diff: $(TEST_CSV)
$(strip ./scripts/csv.py $^ \ $(strip ./scripts/csv.py $^ \
-bsuite \ -bsuite \
-Fi='min(enumerate())' \ -Fi='min(enumerate())' \
@@ -550,9 +550,9 @@ testmarks-diff: $(TEST_CSV)
$(SUMMARYFLAGS) -d $(BUILDDIR)/lfs3.test.csv) $(SUMMARYFLAGS) -d $(BUILDDIR)/lfs3.test.csv)
## Show which tests took the most time ## Show which tests took the most time
.PHONY: testmarks-bottlenecks .PHONY: test-bottlenecks
testmarks-bottlenecks: SUMMARYFLAGS+=-Sruntime test-bottlenecks: SUMMARYFLAGS+=-Sruntime
testmarks-bottlenecks: $(TEST_CSV) test-bottlenecks: $(TEST_CSV)
$(strip ./scripts/csv.py $^ \ $(strip ./scripts/csv.py $^ \
-bcase \ -bcase \
-Fi='min(enumerate())' \ -Fi='min(enumerate())' \
@@ -587,9 +587,9 @@ bench-list list-benches: bench-runner
./scripts/bench.py -R$(BENCH_RUNNER) $(BENCHFLAGS) -l ./scripts/bench.py -R$(BENCH_RUNNER) $(BENCHFLAGS) -l
## Summarize the bench results ## Summarize the bench results
.PHONY: benchmarks .PHONY: bench-marks
benchmarks: SUMMARYFLAGS+=-Si bench-marks: SUMMARYFLAGS+=-Si
benchmarks: $(BENCH_CSV) bench-marks: $(BENCH_CSV)
$(strip ./scripts/csv.py \ $(strip ./scripts/csv.py \
<(./scripts/csv.py $^ \ <(./scripts/csv.py $^ \
-bprobe='%(case)s+%(probe)s' \ -bprobe='%(case)s+%(probe)s' \
@@ -604,12 +604,12 @@ benchmarks: $(BENCH_CSV)
$(SUMMARYFLAGS)) $(SUMMARYFLAGS))
## Save the bench results ## Save the bench results
.PHONY: benchmarks-csv .PHONY: bench-marks-csv
benchmarks-csv: $(BUILDDIR)/lfs3.bench.csv bench-marks-csv: $(BUILDDIR)/lfs3.bench.csv
## Compare bench results against a previous run ## Compare bench results against a previous run
.PHONY: benchmarks-diff .PHONY: bench-marks-diff
benchmarks-diff: $(BENCH_CSV) bench-marks-diff: $(BENCH_CSV)
$(strip ./scripts/csv.py \ $(strip ./scripts/csv.py \
<(./scripts/csv.py $^ \ <(./scripts/csv.py $^ \
-bprobe='%(case)s+%(probe)s' \ -bprobe='%(case)s+%(probe)s' \
@@ -628,9 +628,9 @@ benchmarks-diff: $(BENCH_CSV)
$(SUMMARYFLAGS)) $(SUMMARYFLAGS))
## Show which tests took the most time ## Show which tests took the most time
.PHONY: benchmarks-bottlenecks .PHONY: bench-bottlenecks
benchmarks-bottlenecks: SUMMARYFLAGS+=-Sruntime bench-bottlenecks: SUMMARYFLAGS+=-Sruntime
benchmarks-bottlenecks: $(BENCH_CSV) bench-bottlenecks: $(BENCH_CSV)
$(strip ./scripts/csv.py \ $(strip ./scripts/csv.py \
<(./scripts/csv.py $^ \ <(./scripts/csv.py $^ \
-bprobe='%(case)s+%(probe)s' \ -bprobe='%(case)s+%(probe)s' \