------------------------------------------------------------------------------- PYBENCH 2.0 ------------------------------------------------------------------------------- * using CPython 3.1a0 (py3k:68590:68591M, Jan 14 2009, 03:37:21) [GCC 4.3.2] * disabled garbage collection * system check interval set to maximum: 2147483647 * using timer: time.time ------------------------------------------------------------------------------- Benchmark: likely.bench ------------------------------------------------------------------------------- Rounds: 4 Warp: 10 Timer: time.time Machine Details: Platform ID: Linux-2.6.27.5-desktop-2mnb-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-mandrake-2009.0-Official Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ Python: Implementation: CPython Executable: /home/antoine/py3k/__svn__/python Version: 3.1.0 Compiler: GCC 4.3.2 Bits: 64bit Build: Jan 14 2009 03:37:21 (#py3k:68590:68591M) Unicode: UCS4 ------------------------------------------------------------------------------- Comparing with: orig.bench ------------------------------------------------------------------------------- Rounds: 4 Warp: 10 Timer: time.time Machine Details: Platform ID: Linux-2.6.27.5-desktop-2mnb-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-mandrake-2009.0-Official Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ Python: Implementation: CPython Executable: /home/antoine/py3k/__svn__/python-orig Version: 3.1.0 Compiler: GCC 4.3.2 Bits: 64bit Build: Jan 13 2009 23:52:59 (#py3k:68586M) Unicode: UCS4 Test minimum run-time average run-time this other diff this other diff ------------------------------------------------------------------------------- BuiltinFunctionCalls: 111ms 116ms -3.6% 113ms 117ms -3.1% BuiltinMethodLookup: 111ms 106ms +4.8% 112ms 107ms +5.0% CompareFloats: 164ms 143ms +14.4% 168ms 149ms +12.8% CompareFloatsIntegers: 213ms 192ms +10.6% 213ms 205ms +4.2% CompareIntegers: 243ms 213ms +14.0% 250ms 223ms +12.3% CompareInternedStrings: 195ms 171ms +14.1% 198ms 174ms +14.0% CompareLongs: 143ms 124ms +15.2% 146ms 127ms +14.5% CompareStrings: 154ms 136ms +13.6% 157ms 140ms +12.0% ComplexPythonFunctionCalls: 152ms 161ms -5.3% 154ms 162ms -5.3% ConcatStrings: 203ms 184ms +10.5% 206ms 187ms +10.4% CreateInstances: 155ms 159ms -2.6% 157ms 161ms -2.9% CreateNewInstances: 116ms 128ms -9.9% 119ms 130ms -8.6% CreateStringsWithConcat: 196ms 224ms -12.5% 204ms 236ms -13.5% DictCreation: 108ms 105ms +2.7% 109ms 106ms +3.4% DictWithFloatKeys: 156ms 157ms -0.4% 157ms 158ms -0.6% DictWithIntegerKeys: 157ms 155ms +1.6% 158ms 157ms +0.8% DictWithStringKeys: 142ms 140ms +1.3% 143ms 143ms -0.4% ForLoops: 169ms 162ms +4.6% 169ms 162ms +4.5% IfThenElse: 183ms 173ms +5.4% 184ms 175ms +5.1% ListSlicing: 140ms 140ms +0.0% 142ms 142ms +0.2% NestedForLoops: 199ms 200ms -0.6% 199ms 201ms -1.0% NestedListComprehensions: 219ms 205ms +6.7% 220ms 209ms +5.1% NormalClassAttribute: 286ms 283ms +1.1% 287ms 286ms +0.2% NormalInstanceAttribute: 156ms 154ms +1.3% 157ms 154ms +1.8% PythonFunctionCalls: 138ms 147ms -6.4% 138ms 147ms -6.3% PythonMethodCalls: 167ms 168ms -0.4% 170ms 169ms +0.7% Recursion: 235ms 222ms +5.7% 235ms 224ms +5.3% SecondImport: 132ms 141ms -6.4% 133ms 142ms -6.3% SecondPackageImport: 141ms 153ms -7.5% 143ms 153ms -6.8% SecondSubmoduleImport: 179ms 197ms -9.4% 179ms 199ms -9.8% SimpleComplexArithmetic: 123ms 120ms +2.4% 123ms 120ms +2.3% SimpleDictManipulation: 232ms 244ms -4.9% 234ms 246ms -4.8% SimpleFloatArithmetic: 139ms 136ms +2.3% 139ms 136ms +2.1% SimpleIntFloatArithmetic: 169ms 166ms +1.5% 170ms 168ms +1.5% SimpleIntegerArithmetic: 169ms 166ms +1.8% 170ms 167ms +1.7% SimpleListComprehensions: 190ms 182ms +4.5% 193ms 185ms +4.4% SimpleListManipulation: 144ms 145ms -0.2% 145ms 145ms -0.2% SimpleLongArithmetic: 107ms 104ms +2.9% 109ms 106ms +3.0% SmallLists: 167ms 157ms +6.0% 170ms 159ms +6.8% SmallTuples: 180ms 175ms +2.7% 182ms 178ms +2.5% SpecialClassAttribute: 432ms 438ms -1.6% 434ms 440ms -1.4% SpecialInstanceAttribute: 155ms 155ms +0.2% 155ms 155ms +0.2% StringMappings: 404ms 404ms +0.1% 431ms 405ms +6.4% StringPredicates: 161ms 159ms +1.4% 161ms 159ms +1.2% StringSlicing: 234ms 231ms +1.2% 238ms 238ms +0.4% TryExcept: 169ms 166ms +1.5% 169ms 166ms +1.4% TryFinally: 117ms 117ms -0.2% 123ms 120ms +2.0% TryRaiseExcept: 53ms 58ms -8.8% 54ms 60ms -9.0% TupleSlicing: 191ms 189ms +1.2% 193ms 192ms +0.6% WithFinally: 164ms 171ms -3.9% 165ms 172ms -4.2% WithRaiseExcept: 162ms 166ms -2.5% 163ms 167ms -2.5% ------------------------------------------------------------------------------- Totals: 8926ms 8810ms +1.3% 9039ms 8925ms +1.3% (this=likely.bench, other=orig.bench)