[squeak-dev] Re: [Pharo-dev] A fast Transcript

Levente Uzonyi leves at elte.hu
Sat May 9 23:42:39 UTC 2015


On Sat, 9 May 2015, Florin Mateoc wrote:

> On 5/9/2015 7:06 PM, Levente Uzonyi wrote:
>> The main performance hog is the full redraw of the whole morph for every single #endEntry send. The morph re-renders
>> all visible lines (see NewParagraph >> #displayOn:using:at:).
>> If the visible lines' were cached on a form (probably one form per line), and only the newly added text were drawn
>> during the update, then I think the performance would be similar to Cuis's implementation's, but without restrictions
>> (text not selectable/editable).
>>
>> Levente
>
> Transcript writing is slow in VisualWorks and VisualAge as well and neither uses Morphic.
> My usual workaround is to cover Transcript with another window to avoid the redraws while the heavy activity is
> happening. I suppose this would work in Morphic as well.
> This seemed good/simple enough that I never cared to "fix" it.

Yes, it's way faster if the window is not visible. I used to collapse it 
when I wanted better performance, but that's not always an option.

Levente

>
> Florin
>
>


More information about the Squeak-dev mailing list