And the fourth benchmark with compiled methods


2009/3/7 Hilaire Fernandes <[email protected]>:
> 2009/3/7  <[email protected]>:
>
>> With these VMs you could load Exupery from either SqueakMap
>> or Universes and start it. Documentation is here:
>
> I installed exupery code in pharo 203, run the test, got 4 errors on
> #testBlockBug3, #testBlockNonLocalReturnRecycledContext,
> #testDelayWaitStreeTest, #testStressFailure1
>
> Next I did three benchmarks on 3 different setups with DrGeo
> MessageTally spyOn [Carre new].
>
> Carre new instanciate a DrGeo canvas with Smalltalk programmed figure,
> it results in a self-repeating sketch (see screenshot)
>
> 1. image with exupery runned with exupery VM
> 2. image without exupery runned with stock 3.9 VM
> 3. image without exupery runned with exupery VM
>
> I used exupery image Damien pointed to in his email.
>
> Do you want the images ?
>
> Hilaire
>



-- 
http://blog.ofset.org/hilaire
 - 9896 tallies, 10044 msec.

**Tree**
100.0% {10044ms} Carre class(Behavior)>>new
  100.0% {10044ms} Carre>>initialize
    99.8% {10024ms} Carre>>carre:and:and:and:n: Exupery
      99.6% {10004ms} Carre>>carre:and:and:and:n: Exupery
        99.4% {9984ms} Carre>>carre:and:and:and:n: Exupery
          99.2% {9964ms} Carre>>carre:and:and:and:n: Exupery
            98.9% {9934ms} Carre>>carre:and:and:and:n: Exupery
              98.7% {9913ms} Carre>>carre:and:and:and:n: Exupery
                98.4% {9883ms} Carre>>carre:and:and:and:n: Exupery
                  98.0% {9843ms} Carre>>carre:and:and:and:n: Exupery
                    97.5% {9793ms} Carre>>carre:and:and:and:n: Exupery
                      96.9% {9733ms} Carre>>carre:and:and:and:n: Exupery
                        96.4% {9682ms} Carre>>carre:and:and:and:n: Exupery
                          95.9% {9632ms} Carre>>carre:and:and:and:n: Exupery
                            95.3% {9572ms} Carre>>carre:and:and:and:n: Exupery
                              94.6% {9502ms} Carre>>carre:and:and:and:n: Exupery
                                93.8% {9421ms} Carre>>carre:and:and:and:n: 
Exupery
                                  93.0% {9341ms} Carre>>carre:and:and:and:n: 
Exupery
                                    92.2% {9261ms} Carre>>carre:and:and:and:n: 
Exupery
                                      91.2% {9160ms} 
Carre>>carre:and:and:and:n: Exupery
                                        90.3% {9070ms} 
Carre>>carre:and:and:and:n: Exupery
                                          89.3% {8969ms} 
Carre>>carre:and:and:and:n: Exupery
                                            88.3% {8869ms} 
Carre>>carre:and:and:and:n: Exupery
                                              87.2% {8758ms} 
Carre>>carre:and:and:and:n: Exupery
                                                85.9% {8628ms} 
Carre>>carre:and:and:and:n: Exupery
                                                  84.7% {8507ms} 
Carre>>carre:and:and:and:n: Exupery
                                                    83.4% {8377ms} 
Carre>>carre:and:and:and:n: Exupery
                                                      82.1% {8246ms} 
Carre>>carre:and:and:and:n: Exupery
                                                        80.8% {8116ms} 
Carre>>carre:and:and:and:n: Exupery
                                                          79.4% {7975ms} 
Carre>>carre:and:and:and:n: Exupery
                                                            77.9% {7824ms} 
Carre>>carre:and:and:and:n: Exupery
                                                              76.4% {7674ms} 
Carre>>carre:and:and:and:n: Exupery
                                                                74.7% {7503ms} 
Carre>>carre:and:and:and:n: Exupery
                                                                  73.1% 
{7342ms} Carre>>carre:and:and:and:n: Exupery
                                                                    71.4% 
{7171ms} Carre>>carre:and:and:and:n: Exupery
                                                                      69.7% 
{7001ms} Carre>>carre:and:and:and:n: Exupery
                                                                        67.9% 
{6820ms} Carre>>carre:and:and:and:n: Exupery
                                                                          66.1% 
{6639ms} Carre>>carre:and:and:and:n: Exupery
                                                                            
64.1% {6438ms} Carre>>carre:and:and:and:n: Exupery
[62.2% {6247ms} Carre>>carre:and:and:and:n: Exupery
[  60.2% {6046ms} Carre>>carre:and:and:and:n: Exupery
[    58.2% {5846ms} Carre>>carre:and:and:and:n: Exupery
[      56.1% {5635ms} Carre>>carre:and:and:and:n: Exupery
[        |54.0% {5424ms} Carre>>carre:and:and:and:n: Exupery
[        |  |51.6% {5183ms} Carre>>carre:and:and:and:n: Exupery
[        |  |  |49.4% {4962ms} Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |47.1% {4731ms} Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |44.7% {4490ms} Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |42.1% {4229ms} Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |39.5% {3967ms} Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |36.9% {3706ms} Carre>>carre:and:and:and:n: 
Exupery
[        |  |  |  |  |  |  |  |  |34.3% {3445ms} Carre>>carre:and:and:and:n: 
Exupery
[        |  |  |  |  |  |  |  |  |  |31.5% {3164ms} Carre>>carre:and:and:and:n: 
Exupery
[        |  |  |  |  |  |  |  |  |  |  |28.6% {2873ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |25.7% {2581ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |22.7% {2280ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |19.6% {1969ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |16.5% {1657ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |13.3% {1336ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |10.1% {1014ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |6.7% {673ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |3.4% {341ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |2.3% {231ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |3.3% {331ms} 
Carre>>carre:and:and:and:n: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  3.3% {331ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    2.2% 
{221ms} DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |3.5% {352ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  2.3% {231ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |3.2% {321ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  2.2% {221ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |3.2% {321ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  2.2% {221ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |3.1% {311ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  2.1% {211ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |3.1% {311ms} 
Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  |  2.2% {221ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |3.0% {301ms} Carre>>segment:and: 
Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |  |  2.1% {211ms} 
DrGeoCanvas>>pointOnCurve:at: Exupery
[        |  |  |  |  |  |  |  |  |  |  |  |2.9% {291ms} Carre>>segment:and: 
Exupery
[        |  |  |  |  |  |  |  |  |  |  |2.9% {291ms} Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |  |2.7% {271ms} Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |  |2.6% {261ms} Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |  |2.6% {261ms} Carre>>segment:and: Exupery
[        |  |  |  |  |  |  |2.6% {261ms} Carre>>segment:and: Exupery
[        |  |  |  |  |  |2.6% {261ms} Carre>>segment:and: Exupery
[        |  |  |  |  |2.4% {241ms} Carre>>segment:and: Exupery
[        |  |  |  |2.3% {231ms} Carre>>segment:and: Exupery
[        |  |  |2.2% {221ms} Carre>>segment:and: Exupery
[        |  |2.3% {231ms} Carre>>segment:and: Exupery
[        |2.1% {211ms} Carre>>segment:and: Exupery
[      2.1% {211ms} Carre>>segment:and: Exupery
                                                                            
2.0% {201ms} Carre>>segment:and: Exupery

**Leaves**
5.4% {542ms} LargePositiveInteger>>* Exupery
4.9% {492ms} SmallInteger(Integer)>>*
4.7% {472ms} SmallInteger(Number)>>negative
4.7% {472ms} LargePositiveInteger>>=
4.6% {462ms} ByteSymbol(Symbol)>>=
4.2% {422ms} False(ProtoObject)>>~~
4.1% {412ms} DrGPointItemOnCurve(DrGPointItem)>>basicType
3.5% {352ms} True(Boolean)>>and:and:
3.5% {352ms} Point(Object)>>species
3.1% {311ms} False(Boolean)>>and:and:and:
3.0% {301ms} DrGPointItemOnCurve>>nodeType
3.0% {301ms} LargeNegativeInteger(Integer)>>=
2.7% {271ms} SmallInteger>>highBitOfPositiveReceiver
2.4% {241ms} 
OrderedCollection(SequenceableCollection)>>indexOf:startingAt:ifAbsent:
2.3% {231ms} UndefinedObject(Object)>>=
2.2% {221ms} LargePositiveInteger(Integer)>>gcd:
2.1% {211ms} DrGSegmentMorph(Morph)>>visible
2.1% {211ms} Array(SequenceableCollection)>>do:

**Memory**
        old                     +2,231,500 bytes
        young           -101,084 bytes
        used            +2,130,416 bytes
        free            -12,784 bytes

**GCs**
        full                    0 totalling 0ms (0.0% uptime)
        incr            2541 totalling 914ms (9.0% uptime), avg 0.0ms
        tenures         40 (avg 63 GCs/tenure)
        root table      0 overflows

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

Reply via email to