Skip to content

perf: reuse completed rendering during assistant boundary checks - #985

Draft
bradhilton wants to merge 2 commits into
hayek/recorded-token-default-20260926from
hayek/render-proof-reuse-20260927
Draft

bradhilton wants to merge 2 commits into
hayek/recorded-token-default-20260926from
hayek/render-proof-reuse-20260927

Conversation

@bradhilton

@bradhilton bradhilton commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Agent: Hayek

Assistant boundary checks can render the same completed history twice. Reuse the completed rendering when the messages and generation flag match; changed prefixes still require their own boundary proof.

Validation: 80 checks passed. Seven paired public CPU measurements improved from 429.60 to 418.19 ms while preserving tokens, flags, logprobs, and masks. The gain is modest and repeated prefix rendering remains the main cost.

Stacked on #977. This is fixture evidence, not retained 062 acceptance or a live throughput result.

@bradhilton bradhilton changed the title Reuse completed rendering during assistant boundary checks perf: reuse completed rendering during assistant boundary checks Sep 30, 2026

This branch has not been deployed

No deployments
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.

1 participant