[Pharo-dev] Some very rough benchmarks on text rendering

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Oct 24 09:02:05 EDT 2013


Note that Squeak is running the display twice with StrikeFont when
subPixelRenderColorFonts is enabled, which is far from optimal.
See BitBlt>>displayString:from:to:at:strikeFont:kern: and
BitBlt>>installStrikeFont:foregroundColor:backgroundColor:


2013/10/24 phil at highoctane.be <phil at highoctane.be>

> Very cool indeed.
>
> The days of fearing to click on large methods due to looong rendering
> times are numbered (e.g. Seaside FileLibrary uploaded files... like jQuery
> or images).
>
> PluggableTextMorph does a hell of a lot of twisted things, I guess we'll
> get much improved understandability as well with the Tx things.
>
> Kepp up the good work, it is much appreciated!
>
> Phil
>
>
> On Thu, Oct 24, 2013 at 8:41 AM, Clément Bera <bera.clement at gmail.com>wrote:
>
>> Awesome !
>>
>> I'd love to have that in the image and use it for my everyday dev.
>> Great work Igor please finish it so we can use it :)
>>
>>
>> 2013/10/24 Igor Stasenko <siguctua at gmail.com>
>>
>>> As a followup on discussion about improving/benching text stuff.
>>> Just out of curiosity, wanted to compare how sloooow athens with cairo
>>> comparing to good old bitblt in terms of displaying text.
>>>
>>> See for yourselves.
>>> Sure comparison is very rough (text are different
>>>  - in athens i using freetype font, in workspace is raster font)
>>> but at least both windows displaying same amount of text.
>>> (that i think what is relevant to us, humans ;) )
>>> And, of course, to make things more precise need to write more code to
>>> make sure
>>> it renders exact contents of the text morph fully without any clipping,
>>> in both cases).
>>> And frankly, i am not in a mood of making/coding precise benchmark now.
>>> :)
>>>
>>> Why i posting this, is mainly because i am quite surprised by numbers.
>>> i expected opposite proportion..
>>>
>>> And i still almost didn't optimized things.
>>>
>>> [image: Inline images 2][image: Inline images 1]
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131024/075fdab3/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-10-24 at 4.35.03 AM.png
Type: image/png
Size: 381619 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131024/075fdab3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-10-24 at 4.35.50 AM.png
Type: image/png
Size: 371513 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131024/075fdab3/attachment-0001.png>


More information about the Pharo-dev mailing list