Skip to content

perf(settle): bound estimated partitions and preserve sparse updates - #2234

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/perf/taxi-memory-runtime/bound-estimated-partitions-preserve-sparse-updates--9e4342b5
Oct 27, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/perf/taxi-memory-runtime/bound-estimated-partitions-preserve-sparse-updates--9e4342b5

Conversation

@tignear

@tignear tignear commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Keep estimated partition overhead bounded as designs grow, targeting at most 64 coarse partitions with at least 16000 expression nodes per partition. A fraction of dirty flags is not a cost estimate when clean partitions contain most of the work: use full settle only when all partitions are dirty or an untracked raw view requires it.

Partitioned settle remains disabled by default for O1/O2. Validation: frontend-core and SLT unit suites, partition APIs across backends, a 3-of-9 update regression retaining the partial path, and raw-pointer full-settle preservation; clippy and formatting.

Depends-On: #2233

@tignear

tignear commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 refactor(native): support state-aware outlined kernel calls #2231
2 perf(native): share large comb kernels and bound compilation memory #2232
3 fix(vpi): expose interface parameters and lexical generate scopes #2233
4 perf(settle): bound estimated partitions and preserve sparse updates #2234 👈
5 perf(sv): evaluate stateless constant functions once #2235

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T09:53:24.487577Z a3a7832 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear
tignear force-pushed the stack/tignear/perf/taxi-memory-runtime/bound-estimated-partitions-preserve-sparse-updates--9e4342b5 branch from 1ee9abc to cbca758 Compare October 27, 2026 06:19
@tignear
tignear force-pushed the stack/tignear/perf/taxi-memory-runtime/expose-interface-params-lexical-generate-scopes--3d0a6f88 branch from 930f194 to 33a3359 Compare October 27, 2026 06:19
@tignear

tignear commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 1ee9abc 2026-10-27 06:18 UTC
2 rebase 1ee9abc → cbca758 (rebase only) 2026-10-27 06:18 UTC
3 rebase cbca758 → a3a7832 (rebase only) Replay after #2233 fixes the class-specialization stack overflow that also failed this member CI; settle implementation unchanged. 2026-10-27 09:51 UTC

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 27, 2026
Keep estimated partition overhead bounded as designs grow, targeting at most 64 coarse partitions with at least 16000 expression nodes per partition. A fraction of dirty flags is not a cost estimate when clean partitions contain most of the work: use full settle only when all partitions are dirty or an untracked raw view requires it.

Partitioned settle remains disabled by default for O1/O2. Validation: frontend-core and SLT unit suites, partition APIs across backends, a 3-of-9 update regression retaining the partial path, and raw-pointer full-settle preservation; clippy and formatting.

Change-Id: I9e4342b5784cd4503a7987b3251cdbf654e72040
@tignear
tignear force-pushed the stack/tignear/perf/taxi-memory-runtime/expose-interface-params-lexical-generate-scopes--3d0a6f88 branch from 33a3359 to b03076c Compare October 27, 2026 09:52
@tignear
tignear force-pushed the stack/tignear/perf/taxi-memory-runtime/bound-estimated-partitions-preserve-sparse-updates--9e4342b5 branch from cbca758 to a3a7832 Compare October 27, 2026 09:52
@mergify mergify Bot added the queued Mergify queue entry label Oct 27, 2026
@mergify

mergify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as 38b47d7 at 12:08 UTC

1 h 25 min in the queue, 31 min of it CI.

So far

Merge conditions: 10 of 10 met

This pull request

Condition
✅ depends-on = celox-sim/celox#2233

The batch, tested on draft #2269

Condition Required by
✅ check-success = Conventional Commit title —
✅ check-success = Queue validation —
✅ any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/NAPI Build (Linux ARM64 GNU), check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU), check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/NAPI Build (Windows), check-neutral = @github-actions/NAPI Build (Windows), check-skipped = @github-actions/NAPI Build (Windows) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/JS Test (Windows), check-neutral = @github-actions/JS Test (Windows), check-skipped = @github-actions/JS Test (Windows) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title GitHub repository ruleset rule master

Times in UTC · dashboard · how the merge queue works

Base automatically changed from stack/tignear/perf/taxi-memory-runtime/expose-interface-params-lexical-generate-scopes--3d0a6f88 to master October 27, 2026 12:01
@mergify
mergify Bot merged commit 38b47d7 into master Oct 27, 2026
26 of 44 checks passed
@mergify
mergify Bot deleted the stack/tignear/perf/taxi-memory-runtime/bound-estimated-partitions-preserve-sparse-updates--9e4342b5 branch October 27, 2026 12:08
@mergify mergify Bot removed the queued Mergify queue entry label Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant