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 #64 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:44:52 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: dal-blazej <at> onenetbeyond.org,  54657 <at> debbugs.gnu.org
> Date: Sun, 03 Apr 2022 14:21:55 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > 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).
> 
> Well, that doesn't say whether it's libxml2 or something else...

Of course it does: I stepped through the code one sexp at a time, and
measured only the time it took to execute libxml-parse-html-region
(after seeing as it doesn't return quickly enough).

> libxml2/testing,now 2.9.13+dfsg-1 amd64 [installed,automatic]

It's 2.7.8 here.

> I guess it could also have something to do with how we're interfacing
> with the library -- perhaps we're creating strings (or something) in a
> sub-optimal way on some architectures and not others?

The OP is on x86_64-pc-linux-gnu.




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.