Re: Morphic animation, c'est lent.
Posted by
Frédéric Ferrère-2 on
Jun 09, 2009; 8:58am
URL: https://forum.world.st/Morphic-animation-c-est-lent-tp104210p104215.html
Bonjour,
Visuellement c'est lent. :)
avec cet exemple on obtient un déplacement qui dure 6s.
300 pixels / 6074ms = 20ms cqfd
------
Cycle minimal = 20ms.
Laval Jannik a écrit :
> Salut,
>
> Tu peux tenter un MessageTally:
>
> MessageTally spyOn:[
> (m := Morph new) openInWorld.
> 1 to: 300 do: [:i |
> m position: m position + (1@1).
> World doOneCycle]].
>
> Sous Pharo j'ai eu ces résultats:
>
> ========
> ========
> - 5992 tallies, 6074 msec.
====
Cordialement,
--
Frédéric
_______________________________________________
Squeak-fr mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeak-fr