Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

High CPU usage (especially on Safari) #46

Open
abulte opened this issue Apr 29, 2020 · 1 comment
Open

High CPU usage (especially on Safari) #46

abulte opened this issue Apr 29, 2020 · 1 comment

Comments

@abulte
Copy link
Contributor

abulte commented Apr 29, 2020

When I visit http://data.gouv.fr/fr/?flag=recherche on Safari Mac OS Catalina, the browser starts to consume CPU like crazy, even without clicking in the search box.

Capture d'écran 2020-04-29 13 47 00

When I remove the flag, the CPU is fine (around 2%).

On Chrome it also happens but a little less (around 60% CPU) and it goes away after about 10 seconds (unlike on Safari). Without the flag there's no noticeable CPU spike.

@abulte abulte changed the title High CPU on load (especially on Safari) High CPU usage (especially on Safari) Apr 29, 2020
@abulte
Copy link
Contributor Author

abulte commented Apr 29, 2020

According to the Safari dev console, the loadCards fn seems to be running forever.

Capture d'écran 2020-04-29 14 08 05

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant