cambecc / earth

a project to visualize global weather conditions
http://earth.nullschool.net
MIT License
6.13k stars 1.19k forks source link

CPU usage spikes up after doing anything on the map #47

Open luispabon opened 8 years ago

luispabon commented 8 years ago

On first load of null school, animation framerate is nice and smooth, and CPU usage low. As soon as you do anything to change state (click on a point on the map, open the menu, put the browser in full screen...) CPU usage skyrockets.

This is happening on Ubuntu 16.04, Google Chrome 52, and Ubuntu's browser (also based in Chromium).

Firefox developer edition v49 is smooth as. There's also a CPU spike, but it smooths out in short order and CPU usage remains as before.

luispabon commented 8 years ago

On the console, I can see hashchange at the point of clicking on something, not sure if the CPU spike happens before or after.