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: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24634: closed (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 message dated Sat, 08 Oct 2016 22:34:14 +0300
with message-id <834m4mhbyh.fsf <at> gnu.org>
and subject line Re: bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters
has caused the debbugs.gnu.org bug report #24634,
regarding 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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



[Message part 3 (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.


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.