Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
Re: [SLE] Python is slow on SuSE 8.2 vs other OS's
  • From: Anders Dahlqvist <dahlqvist@xxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 24 Mar 2002 23:37:08 +0100
  • Message-id: <200203242335.58443.dahlqvist@xxxxxxxxxxxxxxxxxxxxxxxx>
Do you mean something like "rpm --rebuild --target=$(uname -m) python.src.rpm"
?

söndagen den 24 mars 2002 18.43 skrev rob:
I benchmarked Python on SuSE 8.2 as I normally do with a new OS on my
laptop. My somnec.py routine runs at 450sec on 8.2,
vs. 300 sec on FreeBSD, vs. 250 sec on Windows. I have a 1Ghz P4 on a
Vaio FX290. Somnec is a routine which mainly eats up cpu time doing
variable width Romberg integration.

I am wondering if there is a way to compile Python from SRPM and then
give it compiler flags like -O2 -march=pentiumpro?
I've never done that before so maybe I will RTFM :)

On FreeBSD I just put make.conf into /etc. Is there an equivalent for
Linux? Thanks, Rob.


< Previous Next >
Follow Ups
References