Depends if the preference for "higher performance" is enabled too...

For comparison (Windows VM, updated 10304cl image):

"higher performance" off:  0:00:00:06.6087
"higher performance" on: 0:00:00:00.524

Regards, Gary

----- Original Message ----- 
From: "Stéphane Ducasse" <[email protected]>
To: "Pharo Development" <[email protected]>
Sent: Friday, June 12, 2009 7:12 AM
Subject: [Pharo-project] Animation bench


Hi guys

could you run the following:

>> [
>>    (m := Morph new) openInWorld.
>>    1 to: 300 do: [:i |
>>     m position: m position + (1...@1).
>>     World doOneCycle]
>> ]
>> durationToRun

because [email protected] did it and here are the result

* vm : pharo-vm-0.15.1b-linux
* image : pharo0.1-10332dev09.06.2
- Test 1 : Project est vide, juste le workspace ouvert à l'opposé du
trajet
              Résultat  0:00:00:07.704
- Test 2 : ClassBrowser recouvrant tout le 'World'
              Résultat :  0:00:00:00.689

- Test 1
* vm : squeak3.9.8-3ubuntu3
* image : Squeak-dev 3.10.2
- Test 1 : Project est vide, juste le workspace ouvert à l'opposé du
trajet
              Résultat : 0:00:00:02.098
- Test 2 : ClassBrowser recouvrant tout le 'World'
              Résultat : 0:00:00:00.608
                  Donc contrairement à ce qu'il semblait être logique,
le morph avance plus vite si le "World" n'est pas vide.

Stéphane Rollandin a écrit :
>
> [
>    (m := Morph new) openInWorld.
>    1 to: 300 do: [:i |
>     m position: m position + (1...@1).
>     World doOneCycle]
> ]
> durationToRun
>
> retourne 0:00:00:00.373 dans mon image, soit un gros tiers de
> seconde. on est loin des 6 s


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project 


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to