feat(debug-ui): expose debug overlay and performance logging toggles #1024
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!1024
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/debug-ui-logging"
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?
Summary
DebugModuleF3 state.PerformanceLogConfig(off by default) and gate the per-second FPS, TIMING, and PERF log lines through it.FrameTimings::try_log_ifresets the one-second window even while disabled, so enabling logging does not dump a backlog.Fixes #1021 and #1019.
Notes
DebugModuleis not installed.Validation
cargo check -p orbital_ecs_bridge -p orbital_debug_ui -p orbital_app -p template_all_in_onecargo test -p orbital_ecs_bridge -p orbital_debug_ui --libcargo test -p orbital_app --libSmart test results
Result: PASS
Scope: full workspace
Reason: workspace-level change: Cargo.lock
Elapsed: 19m 4s
Workflow run
Overall: 488 tests, 478 passed, 0 failed, 10 skipped
Nextest: 477 tests, 477 passed, 0 failed, 0 skipped
Doctests: 11 tests, 1 passed, 0 failed, 10 skipped
Outcome charts are split between nextest and doctests. The timing chart covers nextest only.