Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element inspector is very CPU-hungry #529

Open
meithecatte opened this issue Aug 3, 2024 · 0 comments
Open

Element inspector is very CPU-hungry #529

meithecatte opened this issue Aug 3, 2024 · 0 comments

Comments

@meithecatte
Copy link

Currently, moving the cursor back and forth over the View Tree of the Floem Inspector is enough to consume 100% of a CPU core. Compiled without optimizations, it updates only once or twice a second.

  1. cargo run -p widget-gallery
  2. Click "Open Inspector"
  3. Gently run your cursor up and down the View Tree
  4. Observe CPU usage in htop
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

No branches or pull requests

1 participant