[squeak-dev] Overhead of SystemProgressMorph/#do:displayingProgress: is huge

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Wed Oct 7 11:53:51 UTC 2020


Hi Marcel, thanks for the hint! Please see Morphic-ct.1693 which reduces the #do:displayingProgress: overhead up from 6770 ms to 1000 ms. :-)


> Or maybe just drop the drop shadows idiom entirely. It's a tired UI trope.


For this particular problem, it should not be relevant any longer. Without a good reason, I'd rather keep useful functionality in place. :-)


Best,

Christoph


<http://www.hpi.de/>
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von tim Rowledge <tim at rowledge.org>
Gesendet: Dienstag, 6. Oktober 2020 18:58:36
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Overhead of SystemProgressMorph/#do:displayingProgress: is huge



> On 2020-10-06, at 7:39 AM, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
>
> Hi Christoph,
>
> try to get rid of that extra send of #extent: with bogus values.
>
> > Can we move that "self removeProperty: #dropShadow" statement from Morph >> #extent: to some deferred point, maybe #doLayoutIn:? Or add a second property, #dropShadowBounds, and invalidate the cache when looking it up only?
>

Or maybe just drop the drop shadows idiom entirely. It's a tired UI trope.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: PWB: Put to Waste Basket



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201007/12ef3fc9/attachment.html>


More information about the Squeak-dev mailing list