Skip to content

Cache Python shared-CFG node mapping for DCA - #151

Draft
yoff wants to merge 1 commit into
yoff-python-scope-cachefrom
yoff-python-cache-cfg-node-map
Draft

Cache Python shared-CFG node mapping for DCA#151
yoff wants to merge 1 commit into
yoff-python-scope-cachefrom
yoff-python-cache-cfg-node-map

Conversation

@yoff

@yoff yoff commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Status

This is a DCA-only aggregate follow-up, not a merge proposal. The broad fleet DCA is pending, and this PR remains draft.

  • Baseline: exact SHA d828b0e2d6de619f1c095b2c82a28a4ee138a2a5
  • Candidate: one line adding cached to the truthful Cfg::ControlFlowNode.getNode() mapping

Local deterministic evidence

Combined joins:

  • Airflow: -84,191,098 (-7.004%)
  • Nova unsafe: -72,724,390 (-6.304%)
  • Nova NoSQL: -71,249,141 (-6.313%)

Exact target BQRS and partition equality were confirmed.

Target cache hits:

  • Airflow: 2,077,558
  • Nova: 1,694,178

Post-cleanup cache/DB:

  • Airflow: -1,244 KiB
  • Nova unsafe: +4,776 KiB (+1.59%)
  • Nova NoSQL: +13,244 KiB (+4.41%)

Tuple pools were unchanged.

The canonical injects-to-Python-AST mapping is evaluated repeatedly across DCA prewarm and target stages. Cache getNode so this truthful mapping forms a reusable evaluation boundary without changing its semantics.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 857236eb-3350-48ba-9bf1-6bf5a387191b
@github-actions github-actions Bot added the Python label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant