------------------------------------------------------------------------------- PYBENCH 2.0 ------------------------------------------------------------------------------- * using CPython 3.1a0 (py3k, Jan 13 2009, 18:17:58) [GCC 4.3.2] * disabled garbage collection * system check interval set to maximum: 2147483647 * using timer: time.time ------------------------------------------------------------------------------- Benchmark: patched.bench ------------------------------------------------------------------------------- Rounds: 3 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/condbranches/python Version: 3.1.0 Compiler: GCC 4.3.2 Bits: 64bit Build: Jan 13 2009 18:17:58 (#py3k) Unicode: UCS2 ------------------------------------------------------------------------------- Comparing with: orig.bench ------------------------------------------------------------------------------- Rounds: 3 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/condbranches/python-orig Version: 3.1.0 Compiler: GCC 4.3.2 Bits: 64bit Build: Jan 13 2009 18:14:21 (#py3k) Unicode: UCS2 Test minimum run-time average run-time this other diff this other diff ------------------------------------------------------------------------------- BuiltinFunctionCalls: 105ms 106ms -1.0% 108ms 107ms +0.6% BuiltinMethodLookup: 108ms 106ms +2.1% 108ms 106ms +1.9% CompareFloats: 152ms 143ms +6.2% 159ms 146ms +8.3% CompareFloatsIntegers: 202ms 196ms +3.2% 205ms 199ms +3.0% CompareIntegers: 229ms 214ms +6.8% 232ms 224ms +3.6% CompareInternedStrings: 182ms 169ms +7.8% 182ms 177ms +3.0% CompareLongs: 130ms 124ms +4.9% 134ms 128ms +5.3% CompareStrings: 142ms 144ms -1.3% 145ms 146ms -0.1% ComplexPythonFunctionCalls: 151ms 145ms +3.6% 151ms 147ms +2.6% ConcatStrings: 158ms 185ms -14.5% 169ms 186ms -9.2% CreateInstances: 150ms 158ms -5.2% 152ms 163ms -6.6% CreateNewInstances: 115ms 117ms -2.4% 117ms 119ms -1.2% CreateStringsWithConcat: 193ms 200ms -3.3% 195ms 200ms -2.5% DictCreation: 104ms 105ms -0.9% 105ms 107ms -2.0% DictWithFloatKeys: 151ms 154ms -2.5% 151ms 155ms -2.4% DictWithIntegerKeys: 150ms 156ms -3.6% 151ms 156ms -3.6% DictWithStringKeys: 134ms 140ms -4.0% 135ms 141ms -3.9% ForLoops: 159ms 163ms -2.5% 159ms 163ms -2.4% IfThenElse: 167ms 171ms -2.2% 168ms 175ms -3.8% ListSlicing: 142ms 142ms +0.2% 143ms 143ms -0.0% NestedForLoops: 194ms 200ms -3.2% 195ms 201ms -2.8% NestedListComprehensions: 179ms 209ms -14.2% 180ms 211ms -14.4% NormalClassAttribute: 288ms 282ms +1.9% 288ms 283ms +1.8% NormalInstanceAttribute: 150ms 154ms -2.4% 150ms 154ms -2.3% PythonFunctionCalls: 132ms 139ms -5.4% 133ms 141ms -5.5% PythonMethodCalls: 168ms 165ms +2.0% 169ms 166ms +1.3% Recursion: 216ms 218ms -1.1% 221ms 225ms -1.9% SecondImport: 111ms 110ms +0.8% 114ms 112ms +1.7% SecondPackageImport: 122ms 124ms -1.1% 126ms 125ms +0.7% SecondSubmoduleImport: 167ms 160ms +4.3% 168ms 162ms +3.9% SimpleComplexArithmetic: 108ms 110ms -1.6% 108ms 111ms -2.0% SimpleDictManipulation: 238ms 233ms +2.1% 238ms 238ms -0.1% SimpleFloatArithmetic: 130ms 134ms -2.4% 131ms 134ms -2.4% SimpleIntFloatArithmetic: 168ms 166ms +1.5% 170ms 167ms +2.0% SimpleIntegerArithmetic: 166ms 166ms +0.1% 170ms 167ms +1.8% SimpleListComprehensions: 156ms 180ms -13.6% 157ms 182ms -14.0% SimpleListManipulation: 137ms 141ms -3.3% 138ms 142ms -3.1% SimpleLongArithmetic: 104ms 102ms +2.2% 105ms 102ms +2.8% SmallLists: 153ms 158ms -3.0% 155ms 159ms -2.2% SmallTuples: 170ms 174ms -2.3% 172ms 175ms -2.1% SpecialClassAttribute: 429ms 432ms -0.8% 433ms 436ms -0.6% SpecialInstanceAttribute: 149ms 154ms -2.8% 151ms 154ms -2.1% StringMappings: 398ms 402ms -0.9% 403ms 426ms -5.4% StringPredicates: 161ms 160ms +0.5% 161ms 161ms +0.1% StringSlicing: 216ms 231ms -6.6% 223ms 235ms -5.2% TryExcept: 162ms 166ms -2.3% 162ms 166ms -2.2% TryFinally: 122ms 122ms +0.1% 125ms 125ms -0.2% TryRaiseExcept: 63ms 63ms -0.5% 63ms 63ms -0.5% TupleSlicing: 185ms 192ms -3.7% 187ms 194ms -3.8% WithFinally: 162ms 170ms -4.5% 163ms 172ms -5.1% WithRaiseExcept: 165ms 173ms -4.7% 167ms 175ms -4.8% ------------------------------------------------------------------------------- Totals: 8493ms 8628ms -1.6% 8593ms 8749ms -1.8% (this=patched.bench, other=orig.bench)