why is python slow on Solaris?
Tony McDonald
tony.mcdonald at ncl.ac.uk
Sun Aug 5 12:55:31 EDT 2001
In article <tony.mcdonald-C54A39.16563305082001 at news.blueyonder.co.uk>,
Tony McDonald <tony.mcdonald at ncl.ac.uk> wrote:
> Hi,
>
> This is on an Enterprise 3500 - UltraSparc at 400MHz (ie a big box)
>
> % uname -a
> SunOS caduceus-temp 5.8 Generic_108528-07 sun4u sparc
> SUNW,Ultra-Enterprise
> % file /usr/local/bin/python
> /usr/local/bin/python: ELF 32-bit MSB executable SPARC Version 1,
> dynamically linked, not stripped
> % python
> Python 2.1 (#3, Jul 18 2001, 22:05:54)
> [GCC 2.95.3 20010315 (release)] on sunos5
> Type "copyright", "credits" or "license" for more information.
> >>> from test import pystone
> >>> pystone.main()
> Pystone(1.1) time for 10000 passes = 2.38
> This machine benchmarks at 4201.68 pystones/second
>
Sorry, I should have mentioned the compiler options I used, basically
it's
gcc -fPIC -g -O2 -Wall -Wstrict-prototypes
tone
More information about the Python-list
mailing list