Skip to content

Conversation

@copybara-service
Copy link

[XProf: trace viewer] Introduce a scheduler to manage redraws in Trace Viewer v2.

This change replaces the continuous main loop with a demand-driven redraw system. The application now only redraws when an event occurs that necessitates a visual update, such as user input, window resizing, active animations, or new data being loaded.

Added some tests to verify the scheduler works well and btw added some comments to emscripten related tests.

…e Viewer v2.

This change replaces the continuous main loop with a demand-driven redraw system. The application now only redraws when an event occurs that necessitates a visual update, such as user input, window resizing, active animations, or new data being loaded.

Added some tests to verify the scheduler works well and btw added some comments to emscripten related tests.

PiperOrigin-RevId: 844936358
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.

0 participants