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

Front page taking 10% CPU on Safari [moved] #71

Open
danielmewes opened this issue Apr 16, 2015 · 6 comments
Open

Front page taking 10% CPU on Safari [moved] #71

danielmewes opened this issue Apr 16, 2015 · 6 comments

Comments

@danielmewes
Copy link
Member

danielmewes commented Apr 16, 2015

Moved from rethinkdb/docs#714, reported by @larkost :

Just having a Safari window open to the rethinkdb.com front page puts a 10% CPU load on my machine. We probably should not be using that much. Other pages don't seem to use that much.

@danielmewes
Copy link
Member Author

Didn't we have some issue with constant flickering on Safari? Could that be related?

@VeXocide
Copy link
Member

Chrome on my machine takes between 30% and 40% when the graph or changefeed emulation is in view respectively and I agree this is far too much.

@danielmewes
Copy link
Member Author

Yeah I retract that comment. I can reproduce it with Firefox as well, 20-30% of one core.

@larkost
Copy link

larkost commented Apr 16, 2015

The flickering was on an iPhone 6+, but the underlying issue is one with REM in stylesheets and should not be the issue here.

@chipotle
Copy link
Contributor

The issue here is the JavaScript that's running the animations on the front page. The animated line graph on the image of the dashboard by "Scale your cluster in seconds" may be the chief culprit; if I comment out the transition so the lines aren't being scrolled with perfect smoothness, CPU usage drops noticeably.

@dalanmiller
Copy link
Contributor

@danielmewes As the opener of this issue, are you still getting this?

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

5 participants