Date: Fri, 15 Feb 2002 15:00:59 -0800 (PST) From: Doug White <dwhite@resnet.uoregon.edu> To: Rob <rob@pythonemproject.com> Cc: "freebsd-chat@FreeBSD.ORG" <freebsd-chat@FreeBSD.ORG> Subject: Re: Why is Python slower on FreeBSD than Windows? Message-ID: <20020215145841.O33755-100000@resnet.uoregon.edu> In-Reply-To: <3C6D22C2.268E6915@pythonemproject.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Feb 2002, Rob wrote: > I've been doing some prototyping of some number crunching programs on > Python, and I found that Python is consistently slower on my laptop on > FreeBSD than when I boot into Windows. For example, one program takes > 800sec to run on FreeBSD and 300sec to run when I boot into Win2k. I am > wondering if I should try setting -03 in make.conf and remake Python and > Numpy. Right now I have just -O. Have you truss/ktrace'd your script? It might be getting bogged on gettimeofday() or memory allocation or unblocked reads/writes. > ps. the program is available on my website below as somnec.py. Whee, translated Fortran (gag) ... this could be suffering from converted code that does Evil Things(tm) in Python that Windows non-optimizations actually seem to help. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020215145841.O33755-100000>