------------------------------------------------------------------------------- PYBENCH 2.0 ------------------------------------------------------------------------------- * using CPython 3.1a0 (py3k:67925, Dec 31 2008, 14:48:10) [GCC 4.3.2] * 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.27-9-generic-i686-with-debian-lenny-sid Processor: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz Python: Implementation: CPython Executable: /home/alex/src/python.org/py3k/python Version: 3.1.0 Compiler: GCC 4.3.2 Bits: 32bit Build: Dec 31 2008 14:45:46 (#py3k:67925M) Unicode: UCS2 ------------------------------------------------------------------------------- Comparing with: baseline.pybench ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.time Machine Details: Platform ID: Linux-2.6.27-9-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.3.2 Bits: 32bit Build: Dec 31 2008 14:48:10 (#py3k:67925) Unicode: UCS2 Test minimum run-time average run-time this other diff this other diff ------------------------------------------------------------------------------- BuiltinFunctionCalls: 82ms 80ms +2.5% 85ms 82ms +4.1% BuiltinMethodLookup: 66ms 72ms -8.8% 67ms 73ms -9.1% CompareFloats: 83ms 82ms +1.2% 84ms 82ms +1.4% CompareFloatsIntegers: 148ms 174ms -15.3% 149ms 175ms -15.1% CompareIntegers: 114ms 126ms -9.8% 115ms 127ms -9.7% CompareInternedStrings: 96ms 130ms -26.2% 97ms 131ms -26.0% CompareLongs: 68ms 74ms -7.9% 68ms 75ms -8.1% CompareStrings: 74ms 95ms -21.8% 75ms 97ms -22.8% ComplexPythonFunctionCalls: 108ms 113ms -4.2% 112ms 115ms -2.1% ConcatStrings: 134ms 136ms -1.6% 140ms 141ms -0.4% CreateInstances: 109ms 119ms -9.0% 112ms 122ms -7.8% CreateNewInstances: 82ms 88ms -6.8% 84ms 91ms -8.0% CreateStringsWithConcat: 131ms 139ms -5.7% 134ms 140ms -4.8% DictCreation: 71ms 74ms -3.5% 72ms 75ms -3.9% DictWithFloatKeys: 126ms 121ms +4.1% 127ms 131ms -2.9% DictWithIntegerKeys: 81ms 99ms -18.1% 82ms 108ms -23.7% DictWithStringKeys: 92ms 87ms +5.0% 96ms 93ms +2.9% ForLoops: 80ms 90ms -10.7% 81ms 90ms -10.8% IfThenElse: 106ms 108ms -2.2% 109ms 109ms +0.5% ListSlicing: 65ms 65ms -0.4% 66ms 66ms -0.3% NestedForLoops: 101ms 110ms -8.4% 104ms 113ms -8.1% NormalClassAttribute: 198ms 192ms +2.9% 200ms 198ms +1.0% NormalInstanceAttribute: 100ms 102ms -1.6% 105ms 103ms +1.2% PythonFunctionCalls: 103ms 100ms +2.3% 104ms 101ms +3.5% PythonMethodCalls: 117ms 119ms -1.9% 119ms 122ms -1.9% Recursion: 158ms 152ms +4.3% 162ms 152ms +6.2% SecondImport: 96ms 95ms +1.1% 99ms 96ms +2.9% SecondPackageImport: 101ms 103ms -1.9% 102ms 104ms -1.8% SecondSubmoduleImport: 141ms 139ms +1.4% 142ms 141ms +0.4% SimpleComplexArithmetic: 73ms 80ms -7.9% 74ms 81ms -8.5% SimpleDictManipulation: 169ms 156ms +8.2% 171ms 157ms +9.0% SimpleFloatArithmetic: 83ms 78ms +6.5% 86ms 79ms +8.5% SimpleIntFloatArithmetic: 104ms 111ms -5.9% 114ms 112ms +1.6% SimpleIntegerArithmetic: 103ms 109ms -5.4% 107ms 112ms -4.4% SimpleListManipulation: 81ms 88ms -7.9% 82ms 90ms -8.7% SimpleLongArithmetic: 77ms 82ms -6.0% 78ms 83ms -6.0% SmallLists: 118ms 127ms -7.0% 121ms 130ms -7.2% SmallTuples: 121ms 126ms -3.3% 125ms 129ms -3.3% SpecialClassAttribute: 297ms 295ms +0.5% 301ms 304ms -1.1% SpecialInstanceAttribute: 99ms 100ms -0.7% 101ms 102ms -0.5% StringMappings: 210ms 215ms -2.5% 213ms 218ms -2.3% StringPredicates: 100ms 112ms -10.5% 101ms 113ms -11.0% StringSlicing: 151ms 156ms -3.2% 154ms 159ms -2.8% TryExcept: 73ms 78ms -6.4% 73ms 78ms -6.9% TryFinally: 73ms 77ms -6.2% 73ms 78ms -5.9% TryRaiseExcept: 42ms 43ms -2.9% 42ms 45ms -4.8% TupleSlicing: 110ms 117ms -5.8% 116ms 123ms -5.7% WithFinally: 102ms 107ms -4.3% 107ms 111ms -3.2% WithRaiseExcept: 117ms 122ms -4.0% 121ms 124ms -2.6% ------------------------------------------------------------------------------- Totals: 5332ms 5561ms -4.1% 5451ms 5681ms -4.0% (this=with-computed-goto.pybench, other=baseline.pybench)