From 69c612d012ff65135373c66aa5dc9f26ac0b24e3 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Thu, 11 Jun 2026 19:54:11 +0200 Subject: chore: comments housekeeping --- bench/bench.h | 4 ++-- bench/bench_kernels.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bench') diff --git a/bench/bench.h b/bench/bench.h index 2c98d5c..9a46c71 100644 --- a/bench/bench.h +++ b/bench/bench.h @@ -1,4 +1,4 @@ -/* bench/bench.h - minimal Go-style microbenchmark harness. +/* bench/bench.h - minimal microbenchmark harness. * * A benchmark function receives a bench_state_t and must run its measured * loop exactly b->n times. Call bench_begin(b) after setup so allocation @@ -14,7 +14,7 @@ * * The harness calibrates n until one run takes at least --benchtime-ms * (default 300), then takes --count (default 10) timed samples and prints - * one Go-style line per benchmark with the median ns/op and the spread. + * one line per benchmark with the median ns/op and the spread. * --json PATH writes every sample plus run metadata for benchstat.py. * --filter SUBSTR runs the matching subset. */ diff --git a/bench/bench_kernels.c b/bench/bench_kernels.c index 7266f05..10b9ea0 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 scripts/benchstat.py. + * compare records with bench/benchstat.py. */ #include "bench.h" -- cgit v1.3.1