[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pixel-based display functions
From: |
Lars Ingebrigtsen |
Subject: |
Re: Pixel-based display functions |
Date: |
Sat, 07 Feb 2015 20:57:05 +1100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> It looks like your previous timings, viz.
>
>> shr-insert-document 1 5.11859327 5.11859327
>> shr-pixel-buffer-width 1940 1.8345742170 0.0009456568
>> shr-fold-lines 1579 1.7859513240 0.0011310648
>> shr-vertical-motion 2625 1.7517520130 0.0006673341
>
> and
>
>> (benchmark-run 5000 (vertical-motion (cons (/ 700 (frame-char-width)) 0)))
>> => (0.942894006 2 0.05716983599999992)
>
> were better, at least as far as vertical-motion was concerned. What
> happened that caused almost twofold degradation in speed of
> shr-vertical-motion? And why does a single call to vertical-motion
> take ~0.2 msec, while a single call to shr-vertical-motion takes 1.7
> msec, more than 8 times more?
My guess would be the extra function call overhead, along with the ELP
instrumentation overhead. ELP results are never all that precise, in my
opinion, but they're useful to give you a general overview of where time
is spent, since it adds about the same overhead to all functions.
>> http://en.wikipedia.org/wiki/Ocelot
>>
>> The torture test part of the page isn't shown by default. It's the bit
>> at the end that says "Extant Carnivora species [Show]".
>
> I don't see "Extant Carnivora species [Show]", I see "Extant Carnivora
> species" with "Carnivora" a link to
> http://en.wikipedia.org/wiki/Carnivora. Is that what you meant? (In
> what browser do you see what you described? I tried eww and Forefox,
> and both show what I described.)
In my Firefox, it's shown as "Extant Carnivora species [Show]". Do you
have Javascript switched on or something? It's a JS table toggle or
something.
> Anyway, which part of http://en.wikipedia.org/wiki/Carnivora is the
> torture part? the "Phylogenetic tree" part?
It's not that page, it on the Ocelot page. In eww, it's the large table
that starts with "Extant Carnivora species" in the heading.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Re: Pixel-based display functions, (continued)
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/07
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/07
- Re: Pixel-based display functions,
Lars Ingebrigtsen <=
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/07
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Stefan Monnier, 2015/02/07
- Display of images in eww (was: Pixel-based display functions), Eli Zaretskii, 2015/02/07
- Re: Display of images in eww, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, martin rudalics, 2015/02/07
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/07
- Re: Pixel-based display functions, martin rudalics, 2015/02/07
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/07