Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics


Indie Project Planning Ideaboard · By SolarLune

High CPU Usage

A topic by CoryAlexMartin created Sep 10, 2020 Views: 79 Replies: 2
Viewing posts 1 to 4

MasterPlan sits at around 30% CPU usage on an empty board, which is considerably higher than I'd expect for a productivity application.

I'd love to use it because it has a lot of cool features, but I can't justify dedicating so many resources to it.

Are there plans for optimization?

(1 edit)

Yo, 'sup! 

This doesn't seem like a bug, but rather a discussion on optimization, so I'll move this thread into General.

As for the issue itself, I could definitely optimize some things a bit, but the majority of the situation you're seeing here seems to be unrelated to MasterPlan itself. It seems like the CPU usage being high is a peculiarity with the graphics framework I'm using (Raylib), as I believe it uses a wait loop to idle when waiting for the next frame to draw. Even with drawing and updating an empty window, I'm getting similarly high results when checking the CPU usage on Linux. I'll see about tweaking it to use VSync as a method to handle its timing - this seems to improve the CPU usage.

Keep an eye out for that update in the short-term!

moved this topic to General

Sorry, wasn't sure where the best place to post this was!

Ah yeah, I figured it was probably the doing of a 3rd party library. I'll give it a try again when it's updated with the vsync method. Thanks for looking into it.