From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Evgeny Zajcev Newsgroups: gmane.emacs.devel Subject: Re: excessively slow image animation Date: Thu, 14 Feb 2019 21:41:06 +0300 Message-ID: References: <20190213231459.GA26737@breton.holly.idiocy.org> <20190214182159.GB75679@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000050de30581df0146" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="4578"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 19:42:26 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guLxq-00013r-6W for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2019 19:42:26 +0100 Original-Received: from localhost ([127.0.0.1]:53213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guLxp-00069l-3a for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2019 13:42:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guLwt-00068K-TZ for emacs-devel@gnu.org; Thu, 14 Feb 2019 13:41:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guLwn-0003co-Mp for emacs-devel@gnu.org; Thu, 14 Feb 2019 13:41:25 -0500 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:36929) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guLwn-0003cF-96 for emacs-devel@gnu.org; Thu, 14 Feb 2019 13:41:21 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id n23so5320768lfl.4 for ; Thu, 14 Feb 2019 10:41:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lnNArqwi13nJLcgpePprhC/orYVTx9VctR+nH0/9y0U=; b=a/quBTWpf48BUIJChOQP+YSqEXe/gphX2GUEV6OHXV1H9Xug4T3U1CX9otxT1ByT0m IFtfF4WpGn3HndLjNdvPYWkBwhe1P6EAVGITQTe4taHJG1eC+afmjquDI4GhXRCMxbra IDPVkm1lqgjD88CSI/gtWWR350lSkRbXTcubSf1d9dva7O08NcqsXnEwR4IVebC/Jbdl 3DOc3+8eH0xaNrUN1qrpgW7Hlun2xX1yESUmMbOup9q1CbXEchkUzEbK9zZ73wPbfavl 8wDL5GDQ/yiglsXoziIJKglV0hRsOe5ZarvyRpV3Q8WfcXCykDwxHFSUq0U6S7y7YsMx kNUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lnNArqwi13nJLcgpePprhC/orYVTx9VctR+nH0/9y0U=; b=RAt6JtXMSaJpOSArTAAeiOFI8niiZU/gXIK37aXoRo9G5K4PlutHUJfc0HeRWZPYcd GzejXyXYh+S0f5PIv20g76CqoC+W8zyxdLJZBgcjlpf2WoN43TQC4kbCRoSngHOrNGhl yC7kZyvFqo3NZSvdcWa3xUHHfkD+56WuWpUCGFooJcqWYIB4V5bCZzVbXsPin19TCiDw vLdocAKv3V7Rx2ox0cHECirIOPxfmv+GxtwyqbMHel/zlIxDTwhuLkC8BHSV/nrTIHMI veHHkFlXXIFbr3TbcL1Nl3sx2eFFZsUfZJmSNaqtfMYAozoJ8JrTl/IxcQWio+vwMRuw 1rZQ== X-Gm-Message-State: AHQUAua4xRC+PLqVNsNdWdhNYKEUHRpxVAgNS7Hp6TUSMVjB4OTEKrKw Q0qPNOu/5LXU9tXq9Nzx03+eOyr4isYPRGzEV/KpBgEY X-Google-Smtp-Source: AHgI3IYhL+1fKwYEy9eeNW7C2UevmZs6KfXUFQU4RPiz+SyUoLcHM3/GsJ1uTauqA/ZdmN3rBubtDhcdVMjNBhLCvKw= X-Received: by 2002:ac2:5303:: with SMTP id c3mr3344678lfh.97.1550169678350; Thu, 14 Feb 2019 10:41:18 -0800 (PST) In-Reply-To: <20190214182159.GB75679@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::135 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233339 Archived-At: --000000000000050de30581df0146 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D1=87=D1=82, 14 =D1=84=D0=B5=D0=B2=D1=80. 2019 =D0=B3. =D0=B2 21:22, Alan = Third : > On Thu, Feb 14, 2019 at 02:29:45AM +0300, Evgeny Zajcev wrote: > > > > Cache washes out really fast even if you set `image-cache-eviction-dela= y' > > to huge value. > > In my case, I want to animate 50 images simultaneously and it is not ye= t > > possible without tweeks. > > The more images loaded the shorter a cache eviction time it uses, so I > can see that causing trouble with what you=E2=80=99re doing. > I can easily tolerate washing from the cache in case animation is fast enough (as with bpm files), but I've got the problem even with single small, but pretty lasting animation file. Out of interest, what are you doing that requires 50 animated images? > Preview for saved animations in Emacs telegram client - https://github.com/zevlg/telega.el --=20 lg --000000000000050de30581df0146 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=D1=87=D1=82, 14 =D1= =84=D0=B5=D0=B2=D1=80. 2019 =D0=B3. =D0=B2 21:22, Alan Third <alan@idiocy.org>:
On Thu, Feb 14, 2019 at 02:29:45AM +0300,= Evgeny Zajcev wrote:
>
> Cache washes out really fast even if you set `image-cache-eviction-del= ay'
> to huge value.
> In my case, I want to animate 50 images simultaneously and it is not y= et
> possible without tweeks.

The more images loaded the shorter a cache eviction time it uses, so I
can see that causing trouble with what you=E2=80=99re doing.

I can easily tolerate washing from the cache in case = animation is fast enough (as with bpm files), but I've got the problem = even with single small, but pretty lasting animation file.

<= /div>
Out of interest, what are you doing that requires 50 animated images?

Preview for saved animations i= n Emacs telegram client - ht= tps://github.com/zevlg/telega.el

--
lg
--000000000000050de30581df0146--