Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
test: write the retrieval measurement helper in Gleam
The retrieval tracer counted search pages, input reads, sourced entries and graph-node rows from call traces, with a return_trace match spec on store.rows. retrieval_performance_test now runs it as a Gleam process that selects call and return_from trace records by arity, decodes each with gleam/dynamic/decode, and builds the match spec with gleam/dynamic. Measurements still serialise through global:trans, since trace patterns are VM-wide. Every count the tests assert, exact pages, 2200 decoded inputs, 20 kept matches and 45 and 7 node rows, passes as before. Shrinking search's window to 7 rows fails the two page-count tests.
Author
aly.codes Date (Nov 21, 2026, 4:11 AM UTC) Commit
Copy SHA
Parent 420a0e46 420a0e46e5de505c92df45a28c1c33f4de40f024