Skip to content

Reduce reset animation compositing and particle overhead - #140

Merged
Duoasa merged 1 commit into
mainfrom
codex/0.9.2-reset-card-performance
Nov 7, 2026
Merged

Duoasa merged 1 commit into
mainfrom
codex/0.9.2-reset-card-performance

Conversation

@Duoasa

@Duoasa Duoasa commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Reset-card dissolution was clipped by the page scroll view and could stutter when the incoming card overlapped the particles. Render particles outside the scrolling content, apply the top fade in Metal, and replace the oversized SwiftUI refill mask with a compact native gradient mask.

Reduce particles from 24,240 to 12,155 while keeping the first card frame fully covered. Preserve the accepted drift, 1.7-second dissolve, early refill and settling motion. Normal account data and explicit reset confirmation drive the effect; no temporary demo injection remains.

Validation: 33 focused tests with isolated reset transports and GPU fixtures; localization checks (711 source templates, 743 entries); Debug arm64 development runtime verified at 0.9.2 Build 23 / internal 180. Particle/refill implementation matches the user-accepted Build 22. Side-by-side offscreen GPU P95 fell roughly 40–47%; this is not a measurement of whole-app frame rate. No real reset credits were consumed. No Release or appcast publication.

Merged to main as baf73cb4e0a3104f4be7fcab231ab682ff94df86. PR CI and merged-main CI both passed: 805 tests, 7 skipped, 0 failures each, plus native question closure contract fixtures.

@Duoasa
Duoasa merged commit baf73cb into main Nov 7, 2026
1 check passed
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