aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-14 10:06:52 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 10:06:52 +0200
commit042cb0ece4370adee9d967acf4ab487054e3325e (patch)
tree97fe2491c0b849c0ce53cacad1e1f6907ed035ff
parentc9077bd7494ee4d6f085d4637b8b0a49b1591858 (diff)
downloadffwd-042cb0ece4370adee9d967acf4ab487054e3325e.tar.gz
ffwd-042cb0ece4370adee9d967acf4ab487054e3325e.zip
docs: fix benchstat.py path in comments
-rw-r--r--Makefile4
-rw-r--r--bench/bench_kernels.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 02f9ab3..f7a3927 100644
--- a/Makefile
+++ b/Makefile
@@ -293,7 +293,7 @@ bench-tokenizer:
# =============================================================================
# Regression microbenchmarks (see bench/bench.h). Each run records a JSON
# sample set under bench/results/, keyed by commit; compare two records with
-# bench/benchstat.py to see if a change helped or hurt.
+# tools/benchstat.py to see if a change helped or hurt.
# =============================================================================
# Dirtiness ignores .gitignore so local-only ignore entries do not mark
# every record as -dirty.
@@ -305,7 +305,7 @@ bench:
bench/bench_kernels.c $(KERNEL_SRCS) -lm -lpthread $(TEST_BLAS_LDFLAGS)
@mkdir -p bench/results
./bench/bench_kernels --json bench/results/kernels-$(BENCH_STAMP).json
- @echo "compare: ./bench/benchstat.py bench/results/OLD.json bench/results/NEW.json"
+ @echo "compare: ./tools/benchstat.py bench/results/OLD.json bench/results/NEW.json"
bench-model:
@test -n "$(MODEL_DIR)" || { echo "usage: make bench-model MODEL_DIR=/path/to/model-dir"; exit 1; }
diff --git a/bench/bench_kernels.c b/bench/bench_kernels.c
index 10b9ea0..cc5dc54 100644
--- a/bench/bench_kernels.c
+++ b/bench/bench_kernels.c
@@ -4,7 +4,7 @@
* 8 KV heads x head_dim 128, intermediate 3072) so a slowdown here predicts
* a slowdown in inference. Single-threaded by default for stable numbers;
* --threads N opts into the pool. Build and record via `make bench`,
- * compare records with bench/benchstat.py.
+ * compare records with tools/benchstat.py.
*/
#include "bench.h"