This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anselm.kruis
Recipients anselm.kruis
Date 2013-04-08.18:10:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365444634.63.0.621793850181.issue17667@psf.upfronthosting.co.za>
In-reply-to
Content
Version: 2.7.4 (and any prior 2.7-version. not tested with 3.x)
Compiler: VS 2008 Professional

If I compile Python using the batch 

> PCbuild\build_pgo.bat -2

Visual Studio fails to correctly collect profile information for the project "python27.dll". As a result, no real optimisation takes place.

The command "build_pgo.bat -2" runs the full test suite (..\lib\test\regrtest.py) to collect profile data. Experiments show, that several test cases (i.e. test_os and test_subprocess) break the collection of profile data. Probably the failure is related to the creation of sub-processes. I consider it a Visual Studio bug.

To work around this issue I created a list of good test cases and patched build_pgo.bat to run only the tests from this list.
History
Date User Action Args
2013-04-08 18:10:34anselm.kruissetrecipients: + anselm.kruis
2013-04-08 18:10:34anselm.kruissetmessageid: <1365444634.63.0.621793850181.issue17667@psf.upfronthosting.co.za>
2013-04-08 18:10:34anselm.kruislinkissue17667 messages
2013-04-08 18:10:34anselm.kruiscreate