Cesium CPU usage
See original GitHub issueWe talked offline about this yesterday so I figured I’d write up an issue for it. The default render loop in CesiumWidget
and Viewer
currently render at 60fps no matter what. Setting the targetFrameRate
property can lower it, but is only useful in limited cases.
What we really want to do is only render if we actually need to. This will reduce CPU load and also help with battery life (for devices where that’s an issue). Here’s the “rules” @kring previously came up with.
We don’t render unless:
- The simulation time has changed,
- The user interacts via the mouse, etc.,
- A property of something in the scene has changed, or
- New data is loaded (such as terrain tiles)
Issue Analytics
- State:
- Created 9 years ago
- Reactions:2
- Comments:20 (18 by maintainers)
Top Results From Across the Web
Why is CPU usage so high on idle tab? - Cesium Community
Cesium, by default, renders constantly at a target framerate (like a game). This is terrible for CPU usage and subsequently your battery.
Read more >Cesium CPU usage · Issue #1865 - GitHub
Cesium CPU usage #1865 ... The default render loop in CesiumWidget and Viewer currently render at 60fps no matter what.
Read more >Cesium- high cpu usage when idle, and other general questions
Cesium's CPU usage is high in all scenarios, not just when using terrain. There's an issue for this with some discussion here:.
Read more >CesiumJS/OL-Cesium in Chrome and high CPU usage? : r/gis
After that, while the globe works, Chrome's CPU usage has all 4 cores at ~95% and keeps the system at a load of...
Read more >Where to find info on the Minimum Requirements for running ...
I need Cesium for a project that I'm working on, but I need to know what the CPU, GPU, AND RAM space it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve posted our initial plans to tackle this issue on the forum here: https://groups.google.com/forum/#!topic/cesium-dev/E2XXB44zWew
Please give us your feedback, including any of your thoughts or use cases there!
@chris-cooper We have been extending ol3-cesium’s AutoRenderLoop. It still isn’t perfect, but it is much better than before.