Skip to content

Recursive reads 9-20% slower since #304 (runaway-query guards): ?hot_reach(X,Y) 248 -> 301 ms at 100k edges #384

Closed

Description

@jsam

Found by the #378 bisect on the benchmark host. Likely the per-step deadline/memory checks inside recursion. Make the check cheaper (check every N steps) without weakening the guard; add the case to the perf gate.

Activity

  1. jsam commented on Oct 6, 2026

    @jsam
    ContributorAuthor

    Fixed by https://github.com/inputlayer/inputlayer-symbolic/pull/10 (merged as 19435541): freed memory is returned once large computations go quiet instead of after every one; ?hot_reach(X, Y) at 100K edges 229 ms vs 277 ms on main (-17%), perf gate passes (ratio 0.960), and recursive_query is now a gated perf-gate fixture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions