Register / Log in

Server Costs Dec

Ends in 17 days 0%
It is currently Thu Dec 14, 2017 6:39 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Lower CPU Usage
PostPosted: Wed Dec 08, 2010 3:12 am 
Developer

Joined: Tue Nov 21, 2006 12:02 am
Posts: 363
Offline
Try clicking the little cloud icon in the upper-right of the travel screen. We've changed the functionality so it stops all animation, which can dramatically reduce CPU usage. Please report any bugs this may cause.

There's more optimizations to reduce CPU that can be done, but we figured we should start somewhere. Hopefully this will extend battery life and reduce heat for laptops.


Top
 Profile  
 
 Post subject: Re: Lower CPU Usage
PostPosted: Thu Dec 09, 2010 1:59 am 
Developer

Joined: Tue Nov 21, 2006 12:02 am
Posts: 363
Offline
Skyrates should now use even less CPU.

Before, it was moving the plane on the map, moving the indicator on the queue bar, and changing the time left readouts 30 times per second. That's a pretty unnecessary amount of work. Now, it only does this once per second.

Before, it was also redrawing the whole queue bar 30 times per second, even if nothing changed. Now, it only redraws if the mouse is over it (or has recently been over it).

With these recent changes, I was able to cut my CPU usage by 80%. Let me know how it is on your computer on the discussion thread here.

Also, please report any bugs I may have caused.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group