aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 00:09:15 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 00:09:15 -0500
commita62ab030a327d36bef2211ac7395eb9028600d99 (patch)
tree9f8ee61efaefa9fedc1c79d7ff9a432cf0d3b96d /Makefile
parentdaffb44a3e8b16e5218eccdfc2cc1e4e0dc5f2a5 (diff)
downloaddotemacs-a62ab030a327d36bef2211ac7395eb9028600d99.tar.gz
dotemacs-a62ab030a327d36bef2211ac7395eb9028600d99.zip
test(lorem-optimum): tag benchmarks :perf and assert on scaling ratios
The benchmark suite carried no tag, so `make test' ran it every time, and three of its tests asserted absolute wall-clock times (`(should (< time 5000.0))' and friends). Those numbers hold on my laptop and break on a slower box. Every benchmark is now `:perf'-tagged so the default test run skips it. The three absolute learn thresholds collapse into one `benchmark-learn-scaling' test: it times 1K, 10K, and 100K learns and requires each 10x jump in input to cost under 40x the time. Linear scaling lands near 10x, and the 40x ceiling tolerates GC pauses and slow hardware while still catching an O(N^2) regression. The rest drop their absolute `should's and stay as timing reports for `make benchmark'.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions