feat: add benchmark target to Makefile #14

Merged
mvhutz merged 2 commits from feat/benchmark-target into main 2026-01-11 22:48:27 +00:00

2 Commits

Author SHA1 Message Date
cdb3381db1 refactor: use b.Run for sub-benchmarks and b.Loop for iteration
Replace individual benchmark functions with a single BenchmarkSamples function.
Use b.Run to create sub-benchmarks for each sample file.
Update all benchmarks to use b.Loop instead of manual b.N iteration.
2026-01-11 17:40:50 -05:00
5256e0f918 feat: add benchmark target to Makefile
Add bench target to run Go benchmarks for all samples in the samples folder.
Uses fixed iterations (10x) and 4 CPU cores for consistent results.
2026-01-11 17:37:38 -05:00