From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#23431: 25.0.93; EWW hangs Date: Tue, 03 May 2016 19:47:17 +0200 Message-ID: <87r3dj2fve.fsf@gnus.org> References: <87bn4nx1iq.wl-jch@pps.univ-paris-diderot.fr> <87zis75ibn.fsf@gnus.org> <87d1p35e2g.fsf@gnus.org> <8360uvkt9y.fsf@gnu.org> <874maf5cqb.fsf@gnus.org> <8337pzksce.fsf@gnu.org> <87shxz3wfe.fsf@gnus.org> <83vb2vjc2p.fsf@gnu.org> <874maf3vhh.fsf@gnus.org> <83shxzjb0u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462297722 9663 80.91.229.3 (3 May 2016 17:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 May 2016 17:48:42 +0000 (UTC) Cc: 23431@debbugs.gnu.org, jch@pps.univ-paris-diderot.fr To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 03 19:48:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1axeQw-00035F-Mb for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2016 19:48:30 +0200 Original-Received: from localhost ([::1]:42565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axeQs-0007SC-Tj for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2016 13:48:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axeQk-0007Gp-3B for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 13:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axeQY-0000P0-Bx for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 13:48:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axeQY-0000OC-7q for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 13:48:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axeQU-00026L-Jj for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2016 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23431 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23431-submit@debbugs.gnu.org id=B23431.14622976428026 (code B ref 23431); Tue, 03 May 2016 17:48:02 +0000 Original-Received: (at 23431) by debbugs.gnu.org; 3 May 2016 17:47:22 +0000 Original-Received: from localhost ([127.0.0.1]:35637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axePq-00025O-MS for submit@debbugs.gnu.org; Tue, 03 May 2016 13:47:22 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axePp-00025H-2S for 23431@debbugs.gnu.org; Tue, 03 May 2016 13:47:21 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1axePm-0001PV-3N; Tue, 03 May 2016 19:47:20 +0200 In-Reply-To: <83shxzjb0u.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 May 2016 20:40:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117669 Archived-At: Eli Zaretskii 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