[Python-Dev] [ANN] VPython 0.1
David Ripton
dripton at ripton.net
Thu Oct 23 03:48:15 CEST 2008
> Feedback is, of course, very welcome and it'd be great to have some pybench
> results from different machines.
My results are very similar to Jakob's.
Gentoo Linux, 32-bit x86, Athlon 6400+ underclocked to 3.0 GHz.
make test:
282 tests OK.
5 tests failed:
test_doctest test_hotshot test_inspect test_subprocess test_trace
-------------------------------------------------------------------------------
PYBENCH 2.0
-------------------------------------------------------------------------------
* using Python 2.5.2 (r252:60911, Oct 22 2008, 13:47:58) [GCC 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)]
* disabled garbage collection
* system check interval set to maximum: 2147483647
* using timer: time.time
Calibrating tests. Please wait... done.
Running 10 round(s) of the suite at warp factor 10:
* Round 1 done in 8.474 seconds.
* Round 2 done in 8.389 seconds.
* Round 3 done in 8.438 seconds.
* Round 4 done in 8.411 seconds.
* Round 5 done in 8.484 seconds.
* Round 6 done in 8.471 seconds.
* Round 7 done in 8.492 seconds.
* Round 8 done in 8.549 seconds.
* Round 9 done in 8.429 seconds.
* Round 10 done in 8.542 seconds.
-------------------------------------------------------------------------------
Benchmark: 2008-10-22 20:45:22
-------------------------------------------------------------------------------
Rounds: 10
Warp: 10
Timer: time.time
Machine Details:
Platform ID: Linux-2.6.26-gentoo-r1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-glibc2.3
Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
Python:
Implementation: n/a
Executable: /var/tmp/VPython-2.5.2/python
Version: 2.5.2
Compiler: GCC 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)
Bits: 32bit
Build: Oct 22 2008 13:47:58 (#r252:60911)
Unicode: UCS2
-------------------------------------------------------------------------------
Comparing with: /tmp/vanilla252.pybench
-------------------------------------------------------------------------------
Rounds: 10
Warp: 10
Timer: time.time
Machine Details:
Platform ID: Linux-2.6.26-gentoo-r1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-glibc2.3
Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
Python:
Implementation: n/a
Executable: /usr/local/bin/python2.5
Version: 2.5.2
Compiler: GCC 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)
Bits: 32bit
Build: Oct 22 2008 20:39:10 (#r252:60911)
Unicode: UCS2
Test minimum run-time average run-time
this other diff this other diff
-------------------------------------------------------------------------------
BuiltinFunctionCalls: 144ms 205ms -30.1% 162ms 240ms -32.5%
BuiltinMethodLookup: 164ms 222ms -26.2% 167ms 236ms -29.2%
CompareFloats: 90ms 211ms -57.5% 103ms 222ms -53.7%
CompareFloatsIntegers: 88ms 182ms -51.4% 107ms 200ms -46.6%
CompareIntegers: 63ms 258ms -75.5% 84ms 272ms -69.1%
CompareInternedStrings: 93ms 252ms -63.0% 103ms 261ms -60.5%
CompareLongs: 65ms 180ms -63.9% 87ms 203ms -57.1%
CompareStrings: 113ms 211ms -46.5% 120ms 218ms -44.9%
CompareUnicode: 187ms 273ms -31.7% 228ms 290ms -21.4%
ComplexPythonFunctionCalls: 261ms 330ms -20.9% 277ms 336ms -17.5%
ConcatStrings: 204ms 255ms -20.2% 209ms 297ms -29.7%
ConcatUnicode: 143ms 118ms +20.3% 159ms 228ms -30.0%
CreateInstances: 172ms 112ms +53.0% 187ms 211ms -11.5%
CreateNewInstances: 165ms 100ms +65.0% 171ms 196ms -12.6%
CreateStringsWithConcat: 141ms 133ms +5.8% 160ms 256ms -37.3%
CreateUnicodeWithConcat: 145ms 126ms +14.8% 167ms 242ms -30.9%
DictCreation: 129ms 98ms +31.6% 131ms 184ms -28.8%
DictWithFloatKeys: 185ms 143ms +29.6% 216ms 268ms -19.6%
DictWithIntegerKeys: 122ms 115ms +6.0% 126ms 227ms -44.4%
DictWithStringKeys: 92ms 112ms -17.6% 104ms 216ms -51.8%
ForLoops: 98ms 224ms -56.2% 117ms 243ms -52.0%
IfThenElse: 89ms 221ms -59.9% 97ms 237ms -59.1%
ListSlicing: 123ms 111ms +10.8% 131ms 141ms -6.8%
NestedForLoops: 138ms 234ms -41.1% 153ms 262ms -41.6%
NormalClassAttribute: 131ms 225ms -41.5% 139ms 243ms -42.9%
NormalInstanceAttribute: 121ms 191ms -36.9% 121ms 210ms -42.5%
PythonFunctionCalls: 134ms 200ms -32.6% 144ms 219ms -34.2%
PythonMethodCalls: 173ms 228ms -23.9% 185ms 251ms -26.5%
Recursion: 177ms 298ms -40.5% 187ms 316ms -40.8%
SecondImport: 135ms 133ms +1.5% 160ms 147ms +8.9%
SecondPackageImport: 148ms 141ms +5.0% 166ms 162ms +2.7%
SecondSubmoduleImport: 209ms 188ms +11.4% 221ms 203ms +8.6%
SimpleComplexArithmetic: 131ms 219ms -40.0% 139ms 239ms -41.7%
SimpleDictManipulation: 105ms 210ms -49.9% 123ms 233ms -47.1%
SimpleFloatArithmetic: 93ms 224ms -58.6% 109ms 246ms -55.8%
SimpleIntFloatArithmetic: 84ms 190ms -56.0% 89ms 213ms -58.4%
SimpleIntegerArithmetic: 82ms 191ms -57.1% 84ms 218ms -61.5%
SimpleListManipulation: 85ms 188ms -54.6% 90ms 207ms -56.7%
SimpleLongArithmetic: 111ms 198ms -44.0% 134ms 215ms -37.6%
SmallLists: 126ms 182ms -30.7% 143ms 202ms -28.9%
SmallTuples: 132ms 193ms -31.3% 143ms 210ms -31.7%
SpecialClassAttribute: 110ms 221ms -50.4% 144ms 241ms -40.1%
SpecialInstanceAttribute: 146ms 236ms -38.2% 165ms 258ms -36.1%
StringMappings: 177ms 209ms -15.2% 186ms 218ms -14.5%
StringPredicates: 169ms 219ms -22.9% 178ms 238ms -25.0%
StringSlicing: 130ms 206ms -37.0% 151ms 223ms -32.4%
TryExcept: 92ms 230ms -59.9% 94ms 258ms -63.5%
TryFinally: 139ms 183ms -23.6% 160ms 204ms -21.8%
TryRaiseExcept: 139ms 147ms -5.0% 151ms 162ms -6.7%
TupleSlicing: 135ms 174ms -22.0% 151ms 190ms -20.7%
UnicodeMappings: 222ms 244ms -8.9% 241ms 257ms -6.3%
UnicodePredicates: 170ms 214ms -20.6% 179ms 227ms -21.2%
UnicodeProperties: 136ms 159ms -14.9% 154ms 206ms -25.3%
UnicodeSlicing: 142ms 215ms -34.1% 171ms 248ms -31.3%
WithFinally: 208ms 260ms -20.1% 212ms 271ms -21.9%
WithRaiseExcept: 175ms 193ms -9.0% 186ms 209ms -11.0%
-------------------------------------------------------------------------------
Totals: 7682ms 10935ms -29.8% 8468ms 12832ms -34.0%
(this=2008-10-22 20:45:22, other=/tmp/vanilla252.pybench)
--
David Ripton dripton at ripton.net
More information about the Python-Dev
mailing list