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

Documentation page consuming too many cpu cycles #3910

Closed
victordeleau opened this issue Oct 20, 2020 · 5 comments
Closed

Documentation page consuming too many cpu cycles #3910

victordeleau opened this issue Oct 20, 2020 · 5 comments

Comments

@victordeleau
Copy link

When I browse the documentation website (only when it is an active tab) with Firefox it consumes too many cpu cycles for no reasons.

Prior Issues

This closed issue seems to be related.

What is the current behavior?

Energy impact is medium to high for no reason in the task manager of Firefox 78.3.0esr. Fan gets noisy.

Steps to Reproduce

Just browse the documentation pages using Firefox. Apart from 78.3.0esr I haven't tried other versions. The issue doesn't appear using Chrome 86.

What is the expected behavior?

It's a static website with no fancy stuff, it shouldn't consume that many cpu cycles.

Environment Details

I'm using Debian 10 and Firefox 78.3.0esr.

screenshot

@markerikson
Copy link
Contributor

Does this maybe have something to do with the CodeSandboxes being loaded? Does this happen on all pages, or just specific pages?

@victordeleau
Copy link
Author

How can I check if CodeSandboxes are loaded ?

It doesn't seem to happen on all pages. For example it happens on https://redux.js.org/tutorials/essentials/part-1-overview-concepts but not on https://redux.js.org/recipes/configuring-your-store.

After disabling my cache and refreshing, consumption got down to 7, which is better but still high. Also, consumption seems to increase whenever I move my mouse on the page, even if it's just over some normal text. Could over-consumption be due to some kind of mouse tracking script ?

@markerikson
Copy link
Contributor

Hmm. The tutorial page doesn't have any CodeSandboxes, but it does have a large animated gif.

@victordeleau
Copy link
Author

Indeed it's quite large, but opening the GIF in a standalone tab doesn't make my cpu sweat. Thank you for your help though

@markerikson
Copy link
Contributor

Yeah. If you or anyone else can actually pinpoint a pattern in which pages are burning more CPU, and ideally why it's happening, let us know, but I don't think there's anything specific we can do atm.

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

2 participants