bench: typecheck_scaling — schema-size × query-size scaling of the type checker - #94
Merged
Merged
Conversation
Felipe705x
force-pushed
the
bench/typecheck-scaling-main
branch
from
September 2, 2026 00:25
81e7cb6 to
0b5d015
Compare
…pe checker Runtime-independent microbenchmark of Typechecker::check_query over a homogeneous synthetic schema family (schema size is the controlled variable; 1:2 node:edge ratio matching the measured LDBC inferred schema, 36 entries in both SF0.1 and SF0.3). Cases from internal_bench.rs — v_chain_knows, e_bad_edge_deep, e_label_only, byte-identical after renaming labels into the synthetic universe — with the chain parameterized in k by inserting intermediate nodes. Median timing under an adaptive per-case budget; verdicts asserted every run. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Felipe705x
force-pushed
the
bench/typecheck-scaling-main
branch
from
September 2, 2026 00:33
0b5d015 to
d24f7ad
Compare
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.
Mergeable port of the pinned-baseline benchmark (#93) onto current
main: identical instrument, cases, and protocol; imports under the current lib name. #93 stays open-unmerged as the fixed v0.2.0 reference; this one lives with the code going forward — after any future checker change, running both gives a before/after scaling comparison on the identical instrument.internal_bench.rs—v_chain_knows,e_bad_edge_deep,e_label_only, byte-identical after renaming labels into the synthetic universe (Person→L0,knows→e0,Wagumi→NoSuchLabel); the chain is parameterized in k (1–16) by inserting intermediate nodes only.Smoke-tested on this branch (all verdicts correct).
cargo clippyclean on the new bin.🤖 Generated with Claude Code