ts-7000
[Top] [All Lists]

[ts-7000] 2.6.28 performance gain

To:
Subject: [ts-7000] 2.6.28 performance gain
From: "Breton M. Saunders" <>
Date: Wed, 11 Feb 2009 21:53:16 +0000
Guys,

  2.6.28 seems to give a slight performance gain - which is most 
appreciated.  I'd speculate this is due to sparsemem; but can't comment 
authoritatively.

  Benchmark was pybench, and results are attached.

  Compiler was GCC 3.4.3 and executable code was for OABI.  Binary for 
python was identical in both tests.

  Have fun,

      -Brett


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

-------------------------------------------------------------------------------
PYBENCH 2.0
-------------------------------------------------------------------------------
* using Python 2.4.2
* disabled garbage collection
* system check interval set to maximum: 2147483647
* using timer: time.time

Calibrating tests. Please wait...

Running 10 round(s) of the suite at warp factor 10:

* Round 1 done in 218.607 seconds.
* Round 2 done in 217.769 seconds.
* Round 3 done in 217.355 seconds.
* Round 4 done in 217.616 seconds.
* Round 5 done in 217.930 seconds.
* Round 6 done in 217.217 seconds.
* Round 7 done in 217.475 seconds.
* Round 8 done in 217.543 seconds.
* Round 9 done in 217.734 seconds.
* Round 10 done in 217.497 seconds.

-------------------------------------------------------------------------------
Benchmark: 1970-01-01 20:45:00
-------------------------------------------------------------------------------

    Rounds: 10
    Warp:   10
    Timer:  time.time

    Machine Details:
       Platform ID:  Linux-2.6.27.10-matt-armv4tl-with-libc0
       Processor:    
    
    Python:
       Executable:   /mnt/arm/pybench/../bin/python
       Version:      2.4.2
       Compiler:     GCC 3.4.3
       Bits:         32bit
       Build:        Sep  6 2006 12:41:57 (#1)
       Unicode:      UCS2


Test                             minimum  average  operation  overhead
-------------------------------------------------------------------------------
          BuiltinFunctionCalls:   2957ms   2959ms    5.80us    6.630ms
           BuiltinMethodLookup:   3221ms   3225ms    3.07us    7.752ms
                 CompareFloats:   1956ms   1956ms    2.17us    6.624ms
         CompareFloatsIntegers:   4292ms   4292ms    4.77us    6.628ms
               CompareIntegers:   2318ms   2318ms    1.29us   13.239ms
        CompareInternedStrings:   2781ms   2787ms    1.86us   33.817ms
                  CompareLongs:   2317ms   2317ms    2.21us    7.735ms
                CompareStrings:   2826ms   2830ms    2.83us   23.304ms
                CompareUnicode:   3059ms   3061ms    4.08us   17.996ms
                 ConcatStrings:  20875ms  21330ms   42.66us   17.301ms
                 ConcatUnicode:  24799ms  24945ms   83.15us   13.274ms
               CreateInstances:   3549ms   3600ms   42.86us    6.980ms
            CreateNewInstances:   4114ms   4188ms   49.86us    9.960ms
       CreateStringsWithConcat:   3611ms   3612ms    3.61us   22.052ms
       CreateUnicodeWithConcat:   4453ms   4482ms   11.20us    8.831ms
                  DictCreation:   2718ms   2718ms    6.80us    8.839ms
             DictWithFloatKeys:   6147ms   6149ms    6.83us   16.568ms
           DictWithIntegerKeys:   2501ms   2503ms    2.09us   22.076ms
            DictWithStringKeys:   2362ms   2363ms    1.97us   22.069ms
                      ForLoops:   2208ms   2209ms   88.35us    2.042ms
                    IfThenElse:   1931ms   1931ms    1.43us   16.552ms
                   ListSlicing:   8427ms   8471ms  605.11us    2.240ms
                NestedForLoops:   2705ms   2706ms    1.80us    1.039ms
          NormalClassAttribute:   3013ms   3015ms    2.51us   11.283ms
       NormalInstanceAttribute:   2750ms   2752ms    2.29us   11.307ms
           PythonFunctionCalls:   2534ms   2536ms    7.68us    6.695ms
             PythonMethodCalls:   3322ms   3324ms   14.77us    3.662ms
                     Recursion:   3563ms   3565ms   71.30us   11.118ms
                  SecondImport:   2055ms   2056ms   20.56us    4.418ms
           SecondPackageImport:   2252ms   2253ms   22.53us    4.420ms
         SecondSubmoduleImport:   3016ms   3017ms   30.17us    4.423ms
       SimpleComplexArithmetic:   7716ms   7717ms    8.77us    8.832ms
        SimpleDictManipulation:   2544ms   2547ms    2.12us   11.095ms
         SimpleFloatArithmetic:   3589ms   3593ms    3.27us   11.031ms
      SimpleIntFloatArithmetic:   2556ms   2556ms    1.94us   13.249ms
       SimpleIntegerArithmetic:   2556ms   2556ms    1.94us   13.241ms
        SimpleListManipulation:   2096ms   2097ms    1.79us   14.392ms
          SimpleLongArithmetic:   2709ms   2709ms    4.10us    6.619ms
                    SmallLists:   2645ms   2649ms    3.90us    8.836ms
                   SmallTuples:   2704ms   2708ms    5.02us    9.940ms
         SpecialClassAttribute:   2975ms   2977ms    2.48us   11.285ms
      SpecialInstanceAttribute:   3474ms   3476ms    2.90us   11.322ms
                StringMappings:   3211ms   3212ms   12.75us   11.927ms
              StringPredicates:   2951ms   2951ms    4.22us   50.232ms
                 StringSlicing:   6083ms   6224ms   11.11us   20.927ms
                     TryExcept:   2496ms   2496ms    1.11us   16.543ms
                TryRaiseExcept:   4922ms   5060ms   79.06us    8.840ms
                  TupleSlicing:   3202ms   3203ms   12.20us    1.584ms
               UnicodeMappings:   4131ms   4137ms  114.93us   16.843ms
             UnicodePredicates:   2887ms   2888ms    5.35us   60.487ms
             UnicodeProperties:   2491ms   2493ms    6.23us   50.163ms
                UnicodeSlicing:   9782ms   9952ms   20.31us   18.879ms
-------------------------------------------------------------------------------
Totals:                         216349ms 217674ms

-------------------------------------------------------------------------------
PYBENCH 2.0
-------------------------------------------------------------------------------
* using Python 2.4.2
* disabled garbage collection
* system check interval set to maximum: 2147483647
* using timer: time.time

Calibrating tests. Please wait...

Running 10 round(s) of the suite at warp factor 10:

* Round 1 done in 215.445 seconds.
* Round 2 done in 215.006 seconds.
* Round 3 done in 215.070 seconds.
* Round 4 done in 214.333 seconds.
* Round 5 done in 214.305 seconds.
* Round 6 done in 215.129 seconds.
* Round 7 done in 215.210 seconds.
* Round 8 done in 215.005 seconds.
* Round 9 done in 214.617 seconds.
* Round 10 done in 214.870 seconds.

-------------------------------------------------------------------------------
Benchmark: 1970-01-01 00:05:36
-------------------------------------------------------------------------------

    Rounds: 10
    Warp:   10
    Timer:  time.time

    Machine Details:
       Platform ID:  Linux-2.6.28.4-m-armv4tl-with-libc0
       Processor:    
    
    Python:
       Executable:   /mnt/arm/bin/python
       Version:      2.4.2
       Compiler:     GCC 3.4.3
       Bits:         32bit
       Build:        Sep  6 2006 12:41:57 (#1)
       Unicode:      UCS2


Test                             minimum  average  operation  overhead
-------------------------------------------------------------------------------
          BuiltinFunctionCalls:   2948ms   2953ms    5.79us    6.585ms
           BuiltinMethodLookup:   3191ms   3195ms    3.04us    7.708ms
                 CompareFloats:   1941ms   1941ms    2.16us    6.579ms
         CompareFloatsIntegers:   4258ms   4258ms    4.73us    6.583ms
               CompareIntegers:   2299ms   2300ms    1.28us   13.153ms
        CompareInternedStrings:   2759ms   2765ms    1.84us   33.541ms
                  CompareLongs:   2299ms   2299ms    2.19us    7.677ms
                CompareStrings:   2804ms   2808ms    2.81us   23.090ms
                CompareUnicode:   3035ms   3036ms    4.05us   17.873ms
                 ConcatStrings:  20743ms  21119ms   42.24us   17.119ms
                 ConcatUnicode:  24596ms  24792ms   82.64us   13.088ms
               CreateInstances:   3359ms   3395ms   40.42us    6.910ms
            CreateNewInstances:   3852ms   3930ms   46.79us    9.819ms
       CreateStringsWithConcat:   3583ms   3584ms    3.58us   21.890ms
       CreateUnicodeWithConcat:   4424ms   4452ms   11.13us    8.782ms
                  DictCreation:   2698ms   2699ms    6.75us    8.780ms
             DictWithFloatKeys:   6096ms   6097ms    6.77us   16.451ms
           DictWithIntegerKeys:   2482ms   2484ms    2.07us   21.914ms
            DictWithStringKeys:   2347ms   2348ms    1.96us   21.911ms
                      ForLoops:   2191ms   2191ms   87.65us    2.002ms
                    IfThenElse:   1916ms   1916ms    1.42us   16.434ms
                   ListSlicing:   8290ms   8336ms  595.44us    2.189ms
                NestedForLoops:   2689ms   2690ms    1.79us    0.985ms
          NormalClassAttribute:   2981ms   2983ms    2.49us   11.200ms
       NormalInstanceAttribute:   2720ms   2724ms    2.27us   11.225ms
           PythonFunctionCalls:   2520ms   2521ms    7.64us    6.660ms
             PythonMethodCalls:   3254ms   3257ms   14.48us    3.604ms
                     Recursion:   3542ms   3542ms   70.85us   11.003ms
                  SecondImport:   2047ms   2050ms   20.50us    4.389ms
           SecondPackageImport:   2242ms   2243ms   22.43us    4.385ms
         SecondSubmoduleImport:   2999ms   3002ms   30.02us    4.389ms
       SimpleComplexArithmetic:   7687ms   7687ms    8.74us    8.770ms
        SimpleDictManipulation:   2523ms   2525ms    2.10us   11.043ms
         SimpleFloatArithmetic:   3562ms   3563ms    3.24us   10.970ms
      SimpleIntFloatArithmetic:   2532ms   2533ms    1.92us   13.151ms
       SimpleIntegerArithmetic:   2532ms   2533ms    1.92us   13.154ms
        SimpleListManipulation:   2076ms   2078ms    1.78us   14.319ms
          SimpleLongArithmetic:   2689ms   2689ms    4.07us    6.578ms
                    SmallLists:   2628ms   2632ms    3.87us    8.779ms
                   SmallTuples:   2653ms   2656ms    4.92us    9.879ms
         SpecialClassAttribute:   2945ms   2948ms    2.46us   11.200ms
      SpecialInstanceAttribute:   3440ms   3443ms    2.87us   11.226ms
                StringMappings:   3183ms   3185ms   12.64us   11.701ms
              StringPredicates:   2924ms   2924ms    4.18us   49.826ms
                 StringSlicing:   5927ms   6100ms   10.89us   20.748ms
                     TryExcept:   2476ms   2477ms    1.10us   16.429ms
                TryRaiseExcept:   4487ms   4607ms   71.99us    8.775ms
                  TupleSlicing:   3176ms   3177ms   12.10us    1.518ms
               UnicodeMappings:   4098ms   4103ms  113.97us   16.607ms
             UnicodePredicates:   2864ms   2864ms    5.30us   60.009ms
             UnicodeProperties:   2443ms   2449ms    6.12us   49.811ms
                UnicodeSlicing:   9719ms   9816ms   20.03us   18.735ms
-------------------------------------------------------------------------------
Totals:                         213671ms 214899ms

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU