unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45224: 28.0.50; eww and GIFS (cpu usage shoots through the roof)
@ 2020-12-13 12:45 Madhavan Krishnan
  2020-12-14 17:05 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Madhavan Krishnan @ 2020-12-13 12:45 UTC (permalink / raw)
  To: 45224


Hello there,

This is on Emacs 28.0.50 (MAIN branch) with "-Q"

Steps to reproduce the bug:

1) M-x eww 2) Insert this url at the prompt.
https://github.com/manateelazycat/emacs-application-framework

as "fix" I was told (setq shr-image-animate nil) would help, but would
defeat the purpose of GIFS

Below you can find the profile report for the cpu.

#+begin_example
- command-execute                                                4514  91%
 - call-interactively                                            4514  91%
  - byte-code                                                    4197  85%
   - read-extended-command                                       4197  85%
    - completing-read                                            4197  85%
     - completing-read-default                                   4197  85%
      - read-from-minibuffer                                     4135  83%
       - timer-event-handler                                     3423  69%
        - apply                                                  3423  69%
         - image-animate-timeout                                 3421  69%
            image-multi-frame-p                                  3420  69%
            time-since                                              1   0%
           #<compiled 0xbc1b6d5890d29>                              1   0%
       - url-http-generic-filter                                   91   1%
        - url-http-content-length-after-change-function                 89   1%
         - url-http-activate-callback                              81   1%
          - apply                                                  81   1%
           - url-queue-callback-function                           81   1%
            - apply                                                81   1%
             + shr-image-fetched                                   81   1%
         - file-size-human-readable-iec                             6   0%
            file-size-human-readable                                3   0%
          apply                                                     2   0%
       - redisplay_internal (C function)                           39   0%
        - funcall                                                  35   0%
         - #<compiled 0x1c38e9a167702bb5>                          35   0%
          + gui-backend-selection-exists-p                         35   0%
        - tool-bar-make-keymap                                      2   0%
         - tool-bar-make-keymap-1                                   2   0%
          - mapcar                                                  2   0%
             #<compiled 0xd4d9e7eb5da225a>                          2   0%
        + #<compiled 0x37cabbbdf65a500>                             2   0%
  - funcall-interactively                                         317   6%
   - execute-extended-command                                     317   6%
    - sit-for                                                     317   6%
     - read-event                                                 174   3%
      - timer-event-handler                                       161   3%
       + apply                                                    161   3%
      - url-http-generic-filter                                     2   0%
       - url-http-content-length-after-change-function                  2   0%
          url-percentage                                            1   0%
      - redisplay_internal (C function)                             1   0%
       + #<compiled 0x37cabbbdf65a500>                              1   0%
     - input-pending-p                                            108   2%
      - timer-event-handler                                       108   2%
       - apply                                                    108   2%
        - image-animate-timeout                                   108   2%
           image-multi-frame-p                                    108   2%
     + redisplay                                                   27   0%
+ timer-event-handler                                             348   7%
+ ...                                                              71   1%
+ redisplay_internal (C function)                                   2   0%
+ url-http-generic-filter                                           1   0%
#+end_example

Regards
-- 
Madhavan Krishnan





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

end of thread, other threads:[~2022-04-11 17:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-13 12:45 bug#45224: 28.0.50; eww and GIFS (cpu usage shoots through the roof) Madhavan Krishnan
2020-12-14 17:05 ` Lars Ingebrigtsen
     [not found]   ` <87lfe0fbuv.fsf@gmail.com>
     [not found]     ` <877dpkfbf9.fsf@gmail.com>
2020-12-15  5:41       ` Lars Ingebrigtsen
2020-12-18  9:39         ` Madhavan Krishnan
2020-12-18  9:48           ` Lars Ingebrigtsen
2021-10-31  1:50             ` Stefan Kangas
2021-10-31 15:10               ` Lars Ingebrigtsen
2022-04-11 16:49                 ` Lars Ingebrigtsen
2022-04-11 17:36                   ` Eli Zaretskii
2021-10-31  1:54             ` Stefan Kangas
2022-04-11 12:38   ` Lars Ingebrigtsen
2022-04-11 12:40     ` 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).