[Cuis-dev] Preliminary report on Vector Graphics Performance

Juan Vuletich juan at cuis.st
Thu Oct 20 15:11:06 PDT 2022


On 10/20/2022 5:52 PM, Gerald Klix via Cuis-dev wrote:
> For an image without vector graphics
> the time for the same measurement is about 235 ms.
> 235ms, for what is arguably the worst case, is IHMO acceptable,
> albeit perceptible (sorry, couldn't resist that pun).
>
>
> Just my 0.00 CHF,
>
> Gerald
>
>
> On 20.10.22 22:38, Gerald Klix via Cuis-dev wrote:
>> Hi Juan, Hi all,
>>
>> When use my normal display size (4320 at 3840) with vector graphics loaded
>> and place a browser window in each screen quadrant
>> with the method Browser>>#classListIndex: selected.
>>
>> This expression
>> -- snip --
>> self runningWorld ifNotNil: [ :world |
>>      world invalidateBounds.
>>      [ world displayWorldSafely ] millisecondsToRun ].
>> -- snap --
>> yields something around 1510 (milliseconds),
>> with ca. 5 ms deviation.
>>
>> A bit slow IHMO.
>>
>>
>> HTH and Best Regards,
>>
>> Gerald
>

Try again, with each of the possible Canvas class:

"
     MorphicCanvas activeSubclass: BitBltCanvas
     MorphicCanvas activeSubclass: HybridCanvas
     MorphicCanvas activeSubclass: VectorCanvas
"
  self runningWorld ifNotNil: [ :world |
       world invalidateBounds.
       [ world displayWorldSafely ] millisecondsToRun ].


Thanks,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list