unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54657: 29.0.50; 100% CPU usage with eww on https://blogsurf.io/
@ 2022-03-31 19:49 dal-blazej--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-01  6:05 ` Eli Zaretskii
  2022-04-02 15:33 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 25+ messages in thread
From: dal-blazej--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-31 19:49 UTC (permalink / raw)
  To: 54657


Hi,

I was surprised to see that particular site with eww leads to 100% CPU
usage for 2/3 minutes.

See profiler output below :

---------- CPU
     83,835,054  84% - url-http-generic-filter
     83,687,707  84%  - url-http-content-length-after-change-function
     82,024,107  82%   - url-http-activate-callback
     82,022,955  82%    - eww-render
     55,943,666  56%     - eww-display-html
     30,476,531  30%      - funcall-with-delayed-message
     30,476,531  30%       + #<compiled 0x6f61fe78c524dc6>
            704   0%        plist-put
             21   0%        url-generic-parse-url
     13,373,648  13%     + eww--after-page-change
          4,255   0%     + mail-header-parse-content-type
          1,098   0%     + url-generic-parse-url
          1,056   0%     + set-buffer-file-coding-system
      1,370,741   1%     file-size-human-readable-iec
          5,088   0%   + url-http-parse-headers
          8,360   0%  + url-http-wait-for-headers-change-function
     14,811,644  14% + command-execute
        186,472   0% + redisplay_internal (C function)
         26,027   0% + url-http-async-sentinel
         22,984   0% + timer-event-handler
         21,350   0% + nsm-verify-connection
            232   0% + gui-set-selection
            232   0% + deactivate-mark
             24   0% + eldoc-schedule-timer
              0   0%   ...
----------

---------- RAM
       50462  98% - url-http-generic-filter
       50458  98%  - url-http-content-length-after-change-function
       50366  98%   - url-http-activate-callback
       50366  98%    - eww-render
       50357  97%     - eww-display-html
          89   0%      + funcall-with-delayed-message
           1   0%     + eww--after-page-change
          74   0%     file-size-human-readable-iec
         689   1% + ...
         230   0% + command-execute
           8   0% + redisplay_internal (C function)
           2   0% + timer-event-handler
           1   0% + nsm-verify-connection
----------

Usually I found eww not too CPU hungry so I thought you may be
interested by that report.



In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2022-03-31 built on localhost
Repository revision: 948181df9cbdcc8845fc3662e2007d8e09f48c71
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/opt/emacs
 --with-mailutils --with-sound=yes --without-gconf --without-gsettings
 --with-x=yes --without-toolkit-scroll-bars --with-x-toolkit=gtk3
 --with-json --with-native-compilation --with-xwidgets
 build_alias=x86_64-linux-gnu 'CFLAGS=-O2 -Wall ''

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LIBSELINUX
LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND
SQLITE3 THREADS TIFF X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LANG: en_US
  locale-coding-system: utf-8

Major mode: Summary

Load-path shadows:
/home/user/.emacs.d/elpa/transient-0.3.7/transient hides /opt/emacs/share/emacs/29.0.50/lisp/transient





^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-04-21 14:23 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-31 19:49 bug#54657: 29.0.50; 100% CPU usage with eww on https://blogsurf.io/ dal-blazej--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-01  6:05 ` Eli Zaretskii
2022-04-02 15:35   ` Lars Ingebrigtsen
2022-04-02 15:45     ` Eli Zaretskii
2022-04-02 16:04       ` Lars Ingebrigtsen
2022-04-02 16:18         ` Eli Zaretskii
2022-04-02 16:29           ` Lars Ingebrigtsen
2022-04-02 17:17     ` Eli Zaretskii
2022-04-03 11:52       ` Lars Ingebrigtsen
2022-04-03 12:06         ` Andreas Schwab
2022-04-03 12:22           ` Lars Ingebrigtsen
2022-04-03 13:57             ` Andreas Schwab
2022-04-03 14:55               ` Lars Ingebrigtsen
2022-04-03 15:05                 ` Eli Zaretskii
2022-04-04 10:31                   ` Lars Ingebrigtsen
2022-04-21 14:23                     ` dal-blazej--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-03 15:05                 ` Andreas Schwab
2022-04-03 12:07         ` Eli Zaretskii
2022-04-03 12:21           ` Eli Zaretskii
2022-04-03 12:25             ` Lars Ingebrigtsen
2022-04-03 12:21           ` Lars Ingebrigtsen
2022-04-03 12:44             ` Eli Zaretskii
2022-04-02 15:33 ` Lars Ingebrigtsen
2022-04-02 23:55   ` dal-blazej--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]   ` <87lewnt4td.fsf@onenetbeyond.org>
2022-04-03 11:51     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).