Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.05; 'cpython': 0.05; 'subject:Windows': 0.09; 'python': 0.09; '32-bit': 0.09; 'compiler.': 0.09; 'difference,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; '2.7.3': 0.16; 'binaries': 0.16; 'build?': 0.16; 'i\xe2\x80\x99m': 0.16; 'programmers,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:2.7.3': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'windows': 0.19; 'thanks.': 0.21; 'not,': 0.21; 'mention': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'appreciated.': 0.26; 'am,': 0.27; 'header:X-Complaints-To:1': 0.28; 'source': 0.29; 'probably': 0.29; "skip:' 10": 0.30; 'figure': 0.30; 'point': 0.31; '(and': 0.32; 'says': 0.33; 'builds': 0.33; 'anyone': 0.33; 'to:addr :python-list': 0.33; 'direction': 0.35; 'community': 0.35; 'subject:?': 0.35; 'received:org': 0.36; 'but': 0.36; 'visual': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'build': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'most': 0.61; 'back': 0.62; 'between': 0.63; 'different': 0.63; 'our': 0.65; 'subject:Build': 0.65; 'subject:skip:D 10': 0.65; 'benchmark': 0.84; 'precompiled': 0.84; 'received:fios.verizon.net': 0.84; 'thoroughly': 0.84; '30%': 0.93; 'period.': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Thorough Python 2.7.3 Windows Build Documentation? Date: Thu, 17 Jan 2013 10:55:10 -0500 References: <2ECADBDABCB17E40B66A25D839706F5E07585302@msnmail2.bruker-axs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <2ECADBDABCB17E40B66A25D839706F5E07585302@msnmail2.bruker-axs.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358438130 news.xs4all.nl 6962 [2001:888:2000:d::a6]:37659 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36950 On 1/17/2013 10:29 AM, Leonard, Arah wrote: > Hello fellow Python programmers, > > I=E2=80=99m building a 32-bit CPython 2.7.3 distro for Windows using th= e MS > Visual Studio Professional 2008 SP1 (and all hotfixes) MSVC 9 compiler.= > My build works, technically, but it also happens to benchmark over 30% > slower than the precompiled binaries in the distributed Python 2.7.3 > MSI. Can anyone point me in the direction of some thoroughly detailed > build documentation so that I can figure out how to get that 30% back > with my build? The only documentation that I can find just says MSVC 9= , > period. There=E2=80=99s no mention of SP1 or not, hotfixes, nor of any= specific > compiler/linker optimizations used to build the official distro. > Something, somewhere, has to be significantly different between our > builds for a 30% performance difference, and it=E2=80=99d probably be h= andy for > the Python community to know how to avoid the same pitfall that cost me= > performance so that we can all get the most out of Python. Any and all= > help will be greatly appreciated. Thanks. The 'documentation' of how we build Python on Windows is the PCBuild=20 directory in the source tree. --=20 Terry Jan Reedy