Skip to content

Skip unused attribute pattern lookups when constructing an ExecutionFrame. - #2300

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_989798941
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_989798941

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Skip unused attribute pattern lookups when constructing an ExecutionFrame.

ExecutionFrameBase only calls activation.GetUnknownAttributes() /
GetMissingAttributes() when unknown processing / missing attribute errors
are enabled; otherwise it passes empty spans to AttributeUtility, which
never consults them in that configuration.

Note: the effect on the upstream suite is small (time/op geomean -0.5%,
INSTRUCTIONS/op -0.5%); the policy benchmarks improve 4-6% while other
benchmarks move within +/-4%.

@copybara-service copybara-service Bot changed the title Skip unused attribute pattern lookups and use a direct step loop in ExecutionFrame::Evaluate. Skip unused attribute pattern lookups when constructing an ExecutionFrame. Sep 29, 2026
…rame.

`ExecutionFrameBase` only calls `activation.GetUnknownAttributes()` /
`GetMissingAttributes()` when unknown processing / missing attribute errors
are enabled; otherwise it passes empty spans to `AttributeUtility`, which
never consults them in that configuration.

Note: the effect on the upstream suite is small (time/op geomean -0.5%,
INSTRUCTIONS/op -0.5%); the policy benchmarks improve 4-6% while other
benchmarks move within +/-4%.
PiperOrigin-RevId: 989798941
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants