perf(orbital_iced): throttle widget-tree rebuilds to 4 Hz #925
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!925
Loading…
Reference in a new issue
No description provided.
Delete branch "sakulflee/fix-909-iced-rebuild"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #909.
Rebuild Iced widget trees at most every 250 ms (4 Hz) instead of every frame, while still handling input every frame.
IcedStaterefresh interval to 250 ms and exposeDEFAULT_REFRESH_INTERVAL.DebugUiStaterefresh interval.Verified with
cargo fmt,cargo clippy -- -D warnings, andcargo test --no-fail-fastunder the pinned 1.99.0 toolchain.00bd06921e3f7bc3e297Smart test results
Result: PASS
Scope: orbital_debug_ui, orbital_iced
Reason: directly changed crates
Elapsed: 2m 31s
Workflow run
Overall: 63 tests, 62 passed, 0 failed, 1 skipped
Nextest: 62 tests, 62 passed, 0 failed, 0 skipped
Doctests: 1 tests, 0 passed, 0 failed, 1 skipped
Outcome charts are split between nextest and doctests. The timing chart covers nextest only.