From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: GDI+ take 3 Date: Sun, 19 Apr 2020 22:08:06 +0200 Message-ID: <867dybxmqh.fsf@csic.es> 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> 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="93195"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) To: emacs-devel@gnu.org Cancel-Lock: sha1:93m5YovhBE1c8Kq9e4AJfg6SmGI= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 19 22:09:16 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 1jQGFf-000O7z-LM for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Apr 2020 22:09:15 +0200 Original-Received: from localhost ([::1]:47274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQGFe-0006OT-OU for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Apr 2020 16:09:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60588 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQGEf-0005Qi-Fn for emacs-devel@gnu.org; Sun, 19 Apr 2020 16:08:13 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQGEf-0000HH-1Y for emacs-devel@gnu.org; Sun, 19 Apr 2020 16:08:13 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:55170) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQGEe-0000Dz-Kf for emacs-devel@gnu.org; Sun, 19 Apr 2020 16:08:12 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jQGEd-000N1U-5S for emacs-devel@gnu.org; Sun, 19 Apr 2020 22:08:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=159.69.161.202; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs1p.gnu.org: Linux 3.11 and newer [fuzzy] X-Received-From: 159.69.161.202 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:247327 Archived-At: Folloup on the previous studies. Note that I am using emacs on a 64-bit machine, not 32 bit. So I am unable to comment on Juanma's statistics or Eli's more recent build. However, I hooked into IMAGE-ANIMATE-TIMEOUT and it confirms what I suspected: the load times surpass the scheduled time of the timer. 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). Emacs 26.3 Time: (24220 44200 793183 0), time-to-load-image: (0 0 159487 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44201 27584 0), time-to-load-image: (0 0 167416 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44201 207428 0), time-to-load-image: (0 0 166559 0), stated-delay-time: 0.03, speed: 1 ... Time: (24220 44234 713581 0), time-to-load-image: (0 0 183838 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44234 908589 0), time-to-load-image: (0 0 186141 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44235 107525 0), time-to-load-image: (0 0 187332 0), stated-delay-time: 0.03, speed: 1 Emacs 28 (giflib) Time: (24220 43970 179318 0), time-to-load-image: (0 0 365329 0), stated-delay-time: 0.03, speed: 1 Time: (24220 43970 572005 0), time-to-load-image: (0 0 356802 0), stated-delay-time: 0.03, speed: 1 Time: (24220 43970 939828 0), time-to-load-image: (0 0 367949 0), stated-delay-time: 0.03, speed: 1 ... Time: (24220 44038 598226 0), time-to-load-image: (0 0 366024 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44038 980329 0), time-to-load-image: (0 0 365757 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44039 356957 0), time-to-load-image: (0 0 368651 0), stated-delay-time: 0.03, speed: 1 Emacs 28 (gdi+) Time: (24220 44147 897292 0), time-to-load-image: (0 0 13333 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44147 939953 0), time-to-load-image: (0 0 17375 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44147 971464 0), time-to-load-image: (0 0 15131 0), stated-delay-time: 0.03, speed: 1 ... Time: (24220 44164 698744 0), time-to-load-image: (0 0 137093 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44164 846623 0), time-to-load-image: (0 0 137473 0), stated-delay-time: 0.03, speed: 1 Time: (24220 44164 994965 0), time-to-load-image: (0 0 139321 0), stated-delay-time: 0.03, speed: 1 -- Juan José García Ripoll http://juanjose.garciaripoll.com http://quinfog.hbar.es