From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#47895: 28.0.50; Emacs should only animate images that are visible Date: Wed, 28 Apr 2021 01:23:55 +0200 Message-ID: <87r1ivz4z8.fsf@gnus.org> References: <87r1j6m920.fsf@gnus.org> <8335vmrux2.fsf@gnu.org> <87mttum230.fsf@gnus.org> <83r1j5qd2x.fsf@gnu.org> <87v98ajj3k.fsf@gnus.org> <834kfukx2v.fsf@gnu.org> <87bla2ji7v.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47895@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 01:25:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbX4o-0006uN-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 01:25:10 +0200 Original-Received: from localhost ([::1]:39442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbX4n-0004S7-41 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 19:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbX4g-0004S0-Fs for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 19:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbX4g-0000TS-7q for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 19:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbX4g-0002vC-4s for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 19:25: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, 27 Apr 2021 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47895 X-GNU-PR-Package: emacs Original-Received: via spool by 47895-submit@debbugs.gnu.org id=B47895.161956584711164 (code B ref 47895); Tue, 27 Apr 2021 23:25:02 +0000 Original-Received: (at 47895) by debbugs.gnu.org; 27 Apr 2021 23:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:51265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbX3n-0002u0-2W for submit@debbugs.gnu.org; Tue, 27 Apr 2021 19:24:07 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:34276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbX3k-0002tU-MK for 47895@debbugs.gnu.org; Tue, 27 Apr 2021 19:24:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OdZA0rx6fhkmNm456/soTZbPNQuZzQY6vWPuVhvoHnc=; b=ac9DlmcApxHQJi7o7kGcFPDCEl hVrn7jaGg3Va0mTXQizOqPqtlEgvz/KmgrzHogR59dIqLi7XXSKaS9dKKIzV2/UYnKPZ+r8nW82UD LmZ4DO1WmCMopUNYHgp+nmkgiF7TYaOLGyrWYs0yY34YAFf4yVZu0+wbErTRUfqTP6dU=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbX3c-0004dX-2v; Wed, 28 Apr 2021 01:23:58 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUNDA0fHx0vLy5L S0ohIB5AQD9APz3///9zk+3GAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UEGxcRGk8XOVAAAADMSURB VDjLzdJRDoMgDAbgVs2eaXYBKR5AqQdQzA6w+19mqJlOCw9LzLI/MZh+UhAFuDQmXqjLtuwlABet 3C1P9Q5u8hF82UnZ86PdAbdW690/pbIZcDIk6yhSJ6EQeeagT8LN87y6PhLkpajBBBzAoAZwhEAJ QAkGiDQEz4Az0LmTt2lgbxbAM4RlIQ3IzRgHmu0IDddJgOVrxNfQ/x1BJuYwfGTMwVpJneIK25z3 Luj8+L69ASpIQq77LyMizkmngZmDOPt9x+sST+oF+ewRqQv+VL8AAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDQtMjdUMjM6MTc6MjYrMDA6MDCFGjn/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA0 LTI3VDIzOjE3OjI2KzAwOjAw9EeBQwAAAABJRU5ErkJggg== X-Now-Playing: Lori Carson's _Where It Goes_: "Down Here" In-Reply-To: (Alan Third's message of "Tue, 27 Apr 2021 16:51:04 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205071 Archived-At: Alan Third writes: > Since the image is being loaded whether it's displayed or not it may > be worth checking if it's also being flushed from the cache every time > through the animation. If so the high CPU usage is presumably due to > Emacs having to reload the frame every time. Yup; should also be checked. (I introduced a separate cache for this in the ImageMagick case many years ago, but the non-ImageMagick one doesn't have an animation cache, if I remember correctly.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no