GNU bug report logs - #54657
29.0.50; 100% CPU usage with eww on https://blogsurf.io/

Previous Next

Package: emacs;

Reported by: dal-blazej <at> onenetbeyond.org

Date: Thu, 31 Mar 2022 19:50:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: dal-blazej <at> onenetbeyond.org

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 54657 <at> debbugs.gnu.org, dal-blazej <at> onenetbeyond.org
Subject: Re: bug#54657: 29.0.50; 100% CPU usage with eww on
 https://blogsurf.io/
Date: Sun, 03 Apr 2022 15:07:53 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: dal-blazej <at> onenetbeyond.org,  54657 <at> debbugs.gnu.org
> Date: Sun, 03 Apr 2022 13:52:42 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > According to what I see here, libxml-parse-html-region is indeed the
> > part that takes most of the CPU time, and I measured about 30 sec here
> > it took it to parse that page.  If you see something very different,
> > maybe the important factor here is the version of libxml2?
> 
> Wow.  If you call
> 
> (benchmark-run 1 (libxml-parse-html-region (point-min) (point-max)))
> 
> in the 12MB source buffer for that page, it reports 30 seconds?  It
> reports 0.01 seconds for me.

I didn't do the above, I just stepped through eww-display-html in
Edebug, and looked at my watch (30 sec is easy to measure without any
instruments).

So what is your version of libxml2?  Maybe that is the important
aspect here.




This bug report was last modified 3 years and 31 days ago.

Previous Next


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