Skip to content

fix(frontend): reuse prepared specialization metadata - #27816

Closed
ck89119 wants to merge 6 commits into
matrixorigin:mainfrom
ck89119:issue-27807-main
Closed

fix(frontend): reuse prepared specialization metadata#27816
ck89119 wants to merge 6 commits into
matrixorigin:mainfrom
ck89119:issue-27807-main

Conversation

@ck89119

@ck89119 ck89119 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Related to #27807

What this PR does / why we need it:

Withdrawn: the performance baseline originally reported here predated #27556 (8b6a44e83ca), while this PR's actual base already contained that change.

On the actual base (52336df805), the production path passes the cached needsRuntimeSpecialization=true value. The base helper therefore short-circuits before PreparedPlanNeedsRuntimeSpecialization, so the control added by this PR with a forced false value was not reachable for the TPCC arithmetic DML path.

An exact-base/head rerun of the same reachable benchmark produced identical allocation results:

Revision ns/op median B/op allocs/op
base 52336df805 113,316 48,901 412
head dab9d1a1eb 112,962 48,901 412

The timing difference is noise-level and allocations are identical. Consequently, this PR does not provide evidence of an improvement over its current base and should not be merged.

#27556 already restored the cached-specialization production path implicated by #27807. The issue's TPCC 100/100/5-minute acceptance threshold still needs to be validated separately against that merged revision.

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

Labels

kind/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant