------------------------------------------------------------------------------- PYBENCH 2.0 ------------------------------------------------------------------------------- * using CPython 3.1a0 (py3k:68102, Dec 31 2008, 15:03:49) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] * disabled garbage collection * system check interval set to maximum: 2147483647 * using timer: time.time ------------------------------------------------------------------------------- Benchmark: with-computed-goto.pybench ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.time Machine Details: Platform ID: Linux-2.6.24-22-generic-i686-with-debian-lenny-sid Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ Python: Implementation: CPython Executable: /home/alex/src/python.org/py3k/python Version: 3.1.0 Compiler: GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3) Bits: 32bit Build: Dec 31 2008 15:02:01 (#py3k:68102M) Unicode: UCS2 ------------------------------------------------------------------------------- Comparing with: baseline.pybench ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.time Machine Details: Platform ID: Linux-2.6.24-22-generic-i686-with-debian-lenny-sid Processor: Python: Implementation: CPython Executable: /home/alex/src/python.org/py3k/python Version: 3.1.0 Compiler: GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3) Bits: 32bit Build: Dec 31 2008 15:03:49 (#py3k:68102) Unicode: UCS2 Test minimum run-time average run-time this other diff this other diff ------------------------------------------------------------------------------- BuiltinFunctionCalls: 88ms 91ms -3.3% 89ms 92ms -2.9% BuiltinMethodLookup: 78ms 94ms -16.6% 78ms 94ms -16.7% CompareFloats: 111ms 124ms -10.5% 111ms 124ms -10.1% CompareFloatsIntegers: 167ms 196ms -15.0% 189ms 196ms -3.7% CompareIntegers: 168ms 183ms -8.0% 169ms 183ms -7.8% CompareInternedStrings: 132ms 142ms -7.1% 132ms 142ms -7.1% CompareLongs: 98ms 107ms -8.3% 98ms 107ms -7.9% CompareStrings: 106ms 113ms -6.5% 107ms 115ms -6.7% ComplexPythonFunctionCalls: 116ms 121ms -4.0% 117ms 122ms -3.7% ConcatStrings: 134ms 137ms -2.0% 135ms 138ms -1.8% CreateInstances: 128ms 124ms +2.8% 129ms 126ms +2.5% CreateNewInstances: 95ms 94ms +1.0% 95ms 95ms +0.7% CreateStringsWithConcat: 142ms 162ms -12.0% 144ms 163ms -11.9% DictCreation: 81ms 84ms -3.5% 82ms 86ms -4.3% DictWithFloatKeys: 138ms 159ms -13.0% 138ms 159ms -13.1% DictWithIntegerKeys: 105ms 124ms -15.8% 105ms 125ms -16.1% DictWithStringKeys: 95ms 113ms -16.4% 95ms 114ms -16.7% ForLoops: 107ms 132ms -18.9% 107ms 133ms -19.6% IfThenElse: 135ms 148ms -8.5% 137ms 148ms -7.5% ListSlicing: 77ms 78ms -0.4% 78ms 78ms -0.1% NestedForLoops: 132ms 155ms -15.0% 132ms 156ms -15.0% NestedListComprehensions: 149ms 174ms -14.1% 152ms 176ms -13.6% NormalClassAttribute: 198ms 205ms -3.4% 200ms 206ms -2.9% NormalInstanceAttribute: 113ms 131ms -13.8% 120ms 135ms -11.6% PythonFunctionCalls: 104ms 112ms -7.3% 105ms 114ms -8.2% PythonMethodCalls: 137ms 136ms +1.1% 138ms 141ms -2.1% Recursion: 177ms 185ms -4.2% 184ms 188ms -1.6% SecondImport: 94ms 91ms +3.3% 94ms 92ms +2.3% SecondPackageImport: 101ms 97ms +4.7% 102ms 98ms +4.1% SecondSubmoduleImport: 135ms 136ms -0.3% 137ms 139ms -1.2% SimpleComplexArithmetic: 90ms 105ms -13.5% 93ms 105ms -11.2% SimpleDictManipulation: 166ms 191ms -13.4% 166ms 193ms -13.7% SimpleFloatArithmetic: 103ms 111ms -7.4% 105ms 112ms -6.0% SimpleIntFloatArithmetic: 137ms 148ms -7.0% 139ms 148ms -6.2% SimpleIntegerArithmetic: 137ms 148ms -7.3% 139ms 148ms -6.3% SimpleListComprehensions: 131ms 151ms -12.9% 133ms 154ms -13.5% SimpleListManipulation: 98ms 119ms -17.5% 103ms 120ms -14.6% SimpleLongArithmetic: 87ms 93ms -6.1% 88ms 93ms -5.5% SmallLists: 122ms 130ms -6.1% 123ms 131ms -6.2% SmallTuples: 134ms 140ms -4.0% 138ms 143ms -3.4% SpecialClassAttribute: 307ms 321ms -4.5% 308ms 330ms -6.5% SpecialInstanceAttribute: 118ms 131ms -10.3% 120ms 134ms -10.8% StringMappings: 333ms 338ms -1.4% 335ms 338ms -1.1% StringPredicates: 119ms 137ms -12.8% 121ms 137ms -11.9% StringSlicing: 168ms 186ms -9.8% 174ms 189ms -7.9% TryExcept: 87ms 131ms -33.8% 87ms 131ms -33.9% TryFinally: 86ms 99ms -13.0% 90ms 100ms -10.3% TryRaiseExcept: 42ms 44ms -4.2% 43ms 44ms -3.0% TupleSlicing: 141ms 150ms -5.6% 143ms 151ms -5.1% WithFinally: 121ms 130ms -7.4% 132ms 133ms -0.6% WithRaiseExcept: 128ms 131ms -2.3% 132ms 133ms -0.7% ------------------------------------------------------------------------------- Totals: 6497ms 7078ms -8.2% 6612ms 7150ms -7.5% (this=with-computed-goto.pybench, other=baseline.pybench)