question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

We 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:

  1. The simulation time has changed,
  2. The user interacts via the mouse, etc.,
  3. A property of something in the scene has changed, or
  4. New data is loaded (such as terrain tiles)

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:20 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
ggetzcommented, Dec 8, 2017

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!

1reaction
wallw-tealcommented, Sep 20, 2016

@chris-cooper We have been extending ol3-cesium’s AutoRenderLoop. It still isn’t perfect, but it is much better than before.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found