> On 17 Jan 2022, at 06:35, Tim Peters <[email protected]> wrote: > > [Guido] >> I don't think there's a way to do a PGO build from Visual Studio; but >> a command prompt in the repo can do it using `PCbuild\build.bat --pgo`. >> Just be patient with it. > > Thanks! That worked, and was easy, and gave me an executable that runs > "// 10" at supernatural speed. > > Alas, Visual Studio will not show a disassembly window unless the > debugger is running, and there appears to be no way to convince it to > run its debugger without it first recompiling the source file you're > staring at. Which it recomplies without benefit of PGO. The trick you need is to close the project you use to build python from source then you can open the python.exe and run that under the debugger. Because it can find the python.pdb it will source/disasm as you want. Barry > > So, in the end, it was an elaborate way to reproduce the ;non-PGO > optimized machine code I already saw :-) > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/D47HHYYASRHS56AZL6SEK4Y7K5FNSJOP/ > Code of Conduct: http://python.org/psf/codeofconduct/ > _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/HYSQAPPREFZPYSNMEJCWY5EKICX2R4RV/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Mark Dickinson
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Terry Reedy
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Mark Dickinson
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Mark Dickinson
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Guido van Rossum
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Mark Dickinson
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Gregory P. Smith
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Tim Peters
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Guido van Rossum
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Tim Peters
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Barry Scott
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Steve Dower
- [Python-Dev] Re: Is anyone using 15-bit PyLong digits (PY... Tim Peters