bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23431: 25.0.93; EWW hangs


From: Lars Ingebrigtsen
Subject: bug#23431: 25.0.93; EWW hangs
Date: Tue, 03 May 2016 19:47:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> The top of the profile is this:
>
>   - timer-event-handler                                            1149  65%
>    - apply                                                         1149  65%
>     - image-animate-timeout                                        1110  63%
>        image-multi-frame-p                                         1110  63%
>     - url-queue-run-queue                                            39   2%
>
> Any idea why is image-multi-frame-p do expensive?

Hm...  No, I would have expected that to be fast.  It's basically just a
call to `image-metadata', isn't it?  And that should be caching the
data, I think?

Hm...  That function basically just does:

      struct frame *f = decode_window_system_frame (frame);
      ptrdiff_t id = lookup_image (f, spec);
      struct image *img = IMAGE_FROM_ID (f, id);
      ext = img->lisp_data;


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]