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

Servo uses a lot of CPU when moving the mouse #18771

Open
mateon1 opened this issue Oct 6, 2017 · 3 comments
Open

Servo uses a lot of CPU when moving the mouse #18771

mateon1 opened this issue Oct 6, 2017 · 3 comments
Labels

Comments

@mateon1
Copy link
Contributor

@mateon1 mateon1 commented Oct 6, 2017

Even on about:blank, Servo can use 70% CPU (100% = 1 core) while moving the mouse. The cause of slowness seems to be swrast_dri.so, not Servo itself, but it won't hurt to report this here.

Release mode flamegraph
Debug mode flamegraph

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Oct 6, 2017

Happened before: #9999

@KiChjang
Copy link
Member

@KiChjang KiChjang commented Oct 6, 2017

Is this on debug or release mode?

@jdm jdm added the I-perf-slow label Oct 6, 2017
@mateon1
Copy link
Contributor Author

@mateon1 mateon1 commented Oct 6, 2017

@KiChjang Sorry for the late reply, this happens in release mode as well as debug mode (both flamegraphs are linked in the original comment).
It seems that most (~40% on release mode) CPU time is spent in "swrast_dri.so", which seems to be a mesa OpenGL driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.