Skip to content

Conversation

@deanlee
Copy link
Contributor

@deanlee deanlee commented Nov 21, 2025

Improves performance in the Scroller widget by avoiding expensive matrix push/pop operations when the zoom scale is 1.0 (no scaling).

Performance Metrics (mici ui execution on pc)

Metric Before PR After PR Change
tottime 0.042 s 0.031 s -26.2% (Direct time saved within _render)
cumtime 0.374 s 0.314 s -16.0% (Overall reduction in execution time)

@github-actions github-actions bot added the ui label Nov 21, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2025

raylib UI Preview

All Screenshots

@sshane
Copy link
Contributor

sshane commented Nov 27, 2025

We might want to use it soon BTW, pending @nickorie

@sshane sshane merged commit 4ef82c4 into commaai:master Nov 27, 2025
19 checks passed
@deanlee deanlee deleted the ui-optimize-scroller branch November 27, 2025 10:29
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.

2 participants