GNU bug report logs - #76609
31.0.50; The 0.1s repeat timer is very CPU-intensive; it might be a bug?

Previous Next

Package: emacs;

Reported by: Eval Exec <execvy <at> gmail.com>

Date: Thu, 27 Feb 2025 13:57:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #41 received at 76609 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eval Exec <execvy <at> gmail.com>
Cc: 76609 <at> debbugs.gnu.org
Subject: Re: bug#76609: 31.0.50; The 0.1s repeat timer is very CPU-intensive; 
 it might be a bug?
Date: Thu, 27 Feb 2025 18:46:05 +0200
> From: Eval Exec <execvy <at> gmail.com>
> Date: Thu, 27 Feb 2025 23:44:16 +0800
> Cc: 76609 <at> debbugs.gnu.org
> 
> > Then why are you worried by the CPU usage?
> Because I use laptop with battery everyday, I want to let Emacs more powersave. Get a better battery life. 

Running a high-frequency timer with non-trivial processing is
incompatible with saving battery.  This is why any significant
processing in an otherwise idle Emacs is considered a misfeature.

So users who want to save battery should be advised not to turn on
features such as the one you want to provide, because in Emacs moving
text on display at high frequency is not cheap, even without the
processing done for high-frequency timers.




This bug report was last modified 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.