emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDI+ take 3


From: Juan José García-Ripoll
Subject: Re: GDI+ take 3
Date: Sun, 19 Apr 2020 22:08:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]