GNU bug report logs - #24634
25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters

Previous Next

Package: emacs;

Reported by: Georges Ko <gko <at> gko.net>

Date: Fri, 7 Oct 2016 05:01:02 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Georges Ko <gko <at> gko.net>
Subject: bug#24634: closed (Re: bug#24634: 25.1 on Windows (native and
 cygwin+w32): high CPU load with "wavy" characters)
Date: Sat, 08 Oct 2016 19:35:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 24634 <at> debbugs.gnu.org.

-- 
24634: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24634
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Georges Ko <gko <at> gko.net>
Cc: 24634-done <at> debbugs.gnu.org
Subject: Re: bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load
 with "wavy" characters
Date: Sat, 08 Oct 2016 22:34:14 +0300
> From: Georges Ko <gko <at> gko.net>
> Date: Sat, 08 Oct 2016 23:24:24 +0800
> 
> > static void
> > compact_font_caches (void)
> > {
> >   struct terminal *t;
> >
> >   for (t = terminal_list; t; t = t->next_terminal)
> >     {
> >       Lisp_Object cache = TERMINAL_FONT_CACHE (t);
> >       mark_object (cache);
> >     }
> > }
> 
> OK, this version fixes all cases!

OK, I've now added a variable which you can set to non-nil to disable
font cache compaction.  See the latest emacs-25 branch.

Thanks.

[Message part 3 (message/rfc822, inline)]
From: Georges Ko <gko <at> gko.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy"
 characters
Date: Fri, 07 Oct 2016 12:59:14 +0800
When moving in lines with characters such as WAVY LOW LINE or WAVY LINE:

  - Emacs freezes for a while (noticeable) for a fraction of a second or
    even longer,

  - The CPU load of Emacs increases as well (up to 25% on my Windows 7
    machine) in the meantime.

Text sample below:


﹏



⌇




This happens to the "native" as well as the Cygwin-compiled (--with-w32)
versions, but not with the gtk3 version (--with-x-toolkit=gtk3).
-- 
 Georges Ko                     gko <at> gko.net                      2016-10-07




This bug report was last modified 8 years and 286 days ago.

Previous Next


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