OpenClonk Bugtracker - OpenClonk
View Issue Details
0001834OpenClonkEnginepublic2016-10-28 18:412016-10-28 19:32
Assigned ToIsilkor 
PlatformDesktopOSWindows 7OS Version64 bit
Product Version 
Target VersionFixed in Version 
Summary0001834: Editor running on 13% CPU with no scenario loaded and idle
DescriptionThe editor is running on 13% CPU when no scenario is loaded and the editor itself is idle. Noticed it because my CPU Fan ran fast with the editor open without any scenario loaded.
Attached Files

2016-10-28 19:07   
Yeah I see the editor using one full core too.
2016-10-28 19:31   
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:

Changeset bce0b45 by Nicolas Hake <>
Editor: Fix scheduler timer so it doesn't busy wait (0001834)

36/1000 is always 0 and doesn't make a lot of sense anyway. Use 1000/36
(aka 1000ms/36fps) instead so the UI thread has some time to rest.

Also use a Qt::PreciseTimer so Qt doesn't try to coalesce the scheduler
timer with other timers to save energy.

Issue History
2016-10-28 18:41K-PoneNew Issue
2016-10-28 18:41K-PoneTag Attached: Editor
2016-10-28 19:07IsilkorAssigned To => Isilkor
2016-10-28 19:07IsilkorStatusnew => confirmed
2016-10-28 19:07IsilkorNote Added: 0005472
2016-10-28 19:07IsilkorAssigned ToIsilkor =>
2016-10-28 19:31occNote Added: 0005473
2016-10-28 19:32IsilkorAssigned To => Isilkor
2016-10-28 19:32IsilkorStatusconfirmed => resolved
2016-10-28 19:32IsilkorResolutionopen => fixed