------------------------------------------------------------------------------- PYBENCH 2.1 ------------------------------------------------------------------------------- * using CPython 3.4.0a0 (default:17c9f1627baf+, Jun 12 2013, 15:29:20) [GCC 4.6.3] * disabled garbage collection * system check interval set to maximum: 2147483647 * using timer: time.perf_counter * timer: resolution=1e-09, implementation=clock_gettime(CLOCK_MONOTONIC) ------------------------------------------------------------------------------- Benchmark: python_setalloc.pybench ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.perf_counter Machine Details: Platform ID: Linux-3.2.0-45-generic-pae-i686-with-debian-wheezy-sid Processor: i686 Python: Implementation: CPython Executable: /home/vstinner/prog/python/default/python_setalloc Version: 3.4.0a0 Compiler: GCC 4.6.3 Bits: 32bit Build: Jun 12 2013 15:29:20 (#default:17c9f1627baf+) Unicode: UCS4 ------------------------------------------------------------------------------- Comparing with: python_original.pybench ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.perf_counter Machine Details: Platform ID: Linux-3.2.0-45-generic-pae-i686-with-debian-wheezy-sid Processor: i686 Python: Implementation: CPython Executable: /home/vstinner/prog/python/default/python_original Version: 3.4.0a0 Compiler: GCC 4.6.3 Bits: 32bit Build: Jun 12 2013 15:26:23 (#default:17c9f1627baf) Unicode: UCS4 Test minimum run-time average run-time this other diff this other diff ------------------------------------------------------------------------------- BuiltinFunctionCalls: 45ms 44ms +1.4% 45ms 45ms +1.9% BuiltinMethodLookup: 30ms 30ms -0.0% 30ms 30ms -0.3% CompareFloats: 35ms 33ms +5.6% 35ms 33ms +4.9% CompareFloatsIntegers: 78ms 77ms +1.1% 82ms 77ms +5.8% CompareIntegers: 53ms 53ms -1.3% 53ms 54ms -1.7% CompareInternedStrings: 40ms 40ms -0.0% 40ms 42ms -4.1% CompareLongs: 31ms 31ms +0.6% 31ms 31ms +0.0% CompareStrings: 38ms 38ms +1.3% 39ms 39ms +0.5% ComplexPythonFunctionCalls: 50ms 50ms -0.2% 51ms 51ms -0.2% ConcatStrings: 50ms 49ms +1.1% 50ms 49ms +0.4% CreateInstances: 53ms 53ms -0.4% 54ms 55ms -1.9% CreateNewInstances: 40ms 40ms -1.6% 40ms 41ms -2.1% CreateStringsWithConcat: 79ms 76ms +3.6% 79ms 77ms +3.2% DictCreation: 57ms 54ms +4.8% 58ms 55ms +4.3% DictWithFloatKeys: 54ms 54ms -1.1% 54ms 55ms -2.0% DictWithIntegerKeys: 37ms 37ms -0.2% 38ms 38ms -0.6% DictWithStringKeys: 35ms 35ms -1.8% 35ms 35ms -1.5% ForLoops: 31ms 32ms -0.9% 31ms 32ms -0.9% IfThenElse: 45ms 46ms -2.2% 45ms 46ms -2.5% ListSlicing: 36ms 37ms -0.3% 37ms 37ms -0.4% NestedForLoops: 44ms 44ms +0.6% 45ms 45ms +0.7% NestedListComprehensions: 47ms 49ms -4.4% 47ms 50ms -4.9% NormalClassAttribute: 86ms 88ms -1.8% 87ms 88ms -1.6% NormalInstanceAttribute: 49ms 50ms -1.7% 50ms 51ms -2.6% PythonFunctionCalls: 43ms 44ms -1.9% 43ms 45ms -2.9% PythonMethodCalls: 55ms 56ms -1.8% 56ms 58ms -3.6% Recursion: 74ms 72ms +2.1% 74ms 72ms +2.0% SecondImport: 32ms 33ms -0.8% 33ms 33ms -1.3% SecondPackageImport: 35ms 36ms -2.2% 35ms 36ms -2.3% SecondSubmoduleImport: 83ms 81ms +1.9% 86ms 83ms +3.4% SimpleComplexArithmetic: 39ms 39ms -0.6% 39ms 39ms -0.3% SimpleDictManipulation: 64ms 65ms -1.8% 64ms 66ms -2.3% SimpleFloatArithmetic: 35ms 34ms +0.7% 37ms 35ms +5.5% SimpleIntFloatArithmetic: 44ms 43ms +0.2% 44ms 44ms +0.1% SimpleIntegerArithmetic: 44ms 43ms +0.4% 44ms 44ms +0.4% SimpleListComprehensions: 39ms 40ms -0.6% 40ms 41ms -1.8% SimpleListManipulation: 34ms 34ms -0.9% 34ms 35ms -1.2% SimpleLongArithmetic: 36ms 34ms +5.2% 36ms 34ms +4.9% SmallLists: 44ms 47ms -4.9% 45ms 48ms -6.4% SmallTuples: 48ms 48ms +1.9% 49ms 48ms +3.0% SpecialClassAttribute: 147ms 138ms +6.4% 148ms 139ms +6.1% SpecialInstanceAttribute: 49ms 49ms +0.0% 49ms 49ms -0.3% StringMappings: 118ms 117ms +1.5% 119ms 118ms +1.3% StringPredicates: 51ms 51ms -0.3% 52ms 53ms -0.8% StringSlicing: 56ms 57ms -2.4% 57ms 57ms -1.2% TryExcept: 24ms 24ms +0.2% 24ms 24ms +0.0% TryFinally: 34ms 34ms +0.4% 35ms 35ms +0.3% TryRaiseExcept: 20ms 21ms -4.3% 20ms 21ms -6.1% TupleSlicing: 56ms 56ms +0.4% 56ms 56ms +0.6% WithFinally: 51ms 52ms -2.6% 52ms 53ms -1.6% WithRaiseExcept: 51ms 55ms -7.1% 52ms 55ms -6.4% ------------------------------------------------------------------------------- Totals: 2547ms 2544ms +0.1% 2579ms 2577ms +0.1% (this=python_setalloc.pybench, other=python_original.pybench)