From 6a565ea71745aaf4c91a7698bbf56f7d906fcaaa Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 6 Dec 2020 11:52:26 +0200 Subject: Added build option for sleeping while idle It appears at least on macOS, SDL is doing a while lot of stuff while waiting for new events. Perhaps because it has some sort of high-frequency input/sensor processing? Not sure. Now Lagrange will idle by polling events every 15 ms and sleeping in between. This reduces CPU time by an order of magnitude on macOS. Need to still test on other platforms. --- res/about/version.gmi | 1 + 1 file changed, 1 insertion(+) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index af758486..5944932f 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -10,6 +10,7 @@ * 'text/*' content falls back to plain text. * Reduced visual artifacts in Unicode box-drawing characters (overlapping/gaps). * Fixed truncated tab titles when opening tabs in background. +* macOS: Fixed excessive CPU usage while idling. ## 0.12 * Added MIME hooks: pipe Gemini responses through external programs for arbitrary processing. (See "about:help" for usage.) -- cgit v1.2.3