From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GDI+ take 3 Date: Mon, 20 Apr 2020 16:37:50 +0300 Message-ID: <837dyai8gh.fsf@gnu.org> References: <83d088fwgt.fsf@gnu.org> <835ze0fqk2.fsf@gnu.org> <83sgh3eogs.fsf@gnu.org> <838sitazal.fsf@gnu.org> <86imhxufx9.fsf@csic.es> <83y2qsap7r.fsf@gnu.org> <20200418201943.GA57763@breton.holly.idiocy.org> <868sirzsi3.fsf@csic.es> <867dybxmqh.fsf@csic.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 20 15:46:44 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jQWl1-000CAY-Tb for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 15:46:43 +0200 Original-Received: from localhost ([::1]:36050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWl0-0001eN-Vf for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 09:46:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33696 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWcU-0003b3-WB for emacs-devel@gnu.org; Mon, 20 Apr 2020 09:37:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46871) by eggs1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQWcU-0004Vu-Nd; Mon, 20 Apr 2020 09:37:54 -0400 Original-Received: from [176.228.60.248] (port=3340 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jQWcU-0006gX-1c; Mon, 20 Apr 2020 09:37:54 -0400 In-Reply-To: <867dybxmqh.fsf@csic.es> (juanjose.garciaripoll@gmail.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247382 Archived-At: > From: Juan José García-Ripoll > > Date: Sun, 19 Apr 2020 22:08:06 +0200 > > The image that was supplied by Alan has a nominal delay time of 0.03 > seconds between frames. Emacs 26.3 takes about 0.14 seconds on average > to load each frame of the gif file, using giflib. Emacs 28 as I built it > from git source right now, takes 0.3 seconds with giflib and a time that > grows from 0.01 up to 0.16 seconds (probably because frames have to be > read sequentially, there is no index). Can you show the Lisp you used to time this? I'd like to see what times I get here. Also, do you have any suggestions how to fix this? Perhaps we should first create the images and cache them, and only then start the animation? Some other ideas? Thanks.