Repository navigation
test(gfql): latency contract pins for basic Cypher shapes (pandas/polars/cuDF) - #2031
Merged
Merged
Conversation
Fast-path served pins plus cypher/native ratio pins (12x) on a wide 300k x 30 object-column node table for pandas, polars and cuDF. Node-only seeded lookup with projections is a strict xfail (known gap, plan T2.10.2). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WwMmVFo44ADiRRj5cxh7i1
…f-claim guard) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WwMmVFo44ADiRRj5cxh7i1
…ly, interleaved Review wave 1: the native chain is not a floor on polars (slower than the Cypher form), so the ratio pin now compares against an id mask plus one join per hop on the same frames, measured interleaved, and runs only for shapes the served pin expects to be served; engine imports via importorskip; slug param ids; no numbers in reasons. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WwMmVFo44ADiRRj5cxh7i1
This was referenced Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2030 (needs the node-dtype memo for the pandas ratios to hold).
Adds
graphistry/tests/compute/gfql/test_gfql_latency_contract.py: for three basic shapes on a wide 300k-node × 30 object-column table (100k Person, 200k Message, HAS_CREATOR edges) it pins, per engine (pandas, polars, cuDF):gfql_explainreports a fast path served, andKnown gaps are
xfail(strict=True)so the fix PR (plan T2.10.2) flips them rather than passing silently. Local numbers above are from an RTX 3080 Ti box and are not published anywhere; the absolute sub-10 ms thresholds live in the private pyg-bench sentinel on the real SF0.1 fixture.Registered in
bin/test-polars.shfor lane completeness. Local: 13 passed, 4 xfailed across the three engines.🤖 Generated with Claude Code
https://claude.ai/code/session_01WwMmVFo44ADiRRj5cxh7i1