You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stdlib-complexity growth checks use wall-clock time: on a loaded machine a linear op fails its 6× bound (trie 6.4× at load 36) #1998
Battery on stack #1992 (wave-eval 77db69f) went red on stdlib-complexity: trie n=2000 small_ns=3843709 large_ns=24608292 within_bound=false — 6.4× for 4× n against a bound of 6×+1 ms, at load average 36 (two batteries and six agents building). Every other non-XFAIL row passed. test/complexity/stdlib.w measures elapsed() wall time (median of 3), so CPU contention reads as super-linear growth: a flaky red that blocks a battery for reasons unrelated to the change. Fix the measurement, not the bound: time the work with per-thread/process CPU time (rusage user+sys, or clock_gettime(CLOCK_THREAD_CPUTIME_ID) through the existing libc seams) so other processes don't count, and keep the 6× bound. Show: the row at load ~36 (run the target while a :dev builds elsewhere) passes after, and a deliberately quadratic probe still fails.
Activity
stdlib-complexity times CPU, not the wall: std.libc cpu_time_ns over …
Sema: a generic instance is found by identity, never by the memo's ab…
stdlib-complexity times CPU, not the wall: std.libc cpu_time_ns over …
Sema: a generic instance is found by identity, never by the memo's ab…
stdlib-complexity times CPU, not the wall: std.libc cpu_time_ns over …
Sema: a generic instance is found by identity, never by the memo's ab…
Build store, runner, corpora, deps discovery, generic-instance identi…
ehartford commentedon Oct 3, 2026
Fixed on main in 6572eab (PR #2008; seed-driven battery GREEN on e0f5510, tree identical to main).
Battery: a red that names no target reports its first error line (#2051)