[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-18 Thread Jorge Ramos


Jorge Ramos  added the comment:

Mmm, I don't find that option documented in the readme of the MSI folder nor in 
the help for buildrelease.bat (and also is not intuitive, what does IIRC stand 
for?), nevertheless:

It should be no problem if this PR doesn't pass but it should help newcomers 
like me to debug builds (the option -q is also not documented in the 
buildrelease but I found that option tracking the build calls all the way to 
regrtest.py) I leave this info here if anyone benefits from it.

In fact I edited the PGO option in the buildrelease file to:

PGO= -m test --pgo -uall -j8 -M 27Gb -x test_bigmem test_bz2 test_codecs 
test_httpservers test_nntplib test_platform test_regrtest test_sysconfig 
test_zlib

The test suite now reads: PASS (I know, it is not necessary for all the tests 
to pass, but it is a nice view IMO). The benefit of the -j option is  that it 
permits some tests to pass when they where failing before this option. The 
option -uall opens resources to the tests, so that some of them will no longer 
be denied to tests (and therefore leaving no tests run -or skipped- by lack of 
resources). The 27Gb memory "allocated" to the tests is overkill, but my system 
could handle it (it may be that some tests need more than that but I have no 
further memory). 

Sure, it takes a long time to build (close to 1 hr) but it is the best way I 
have found so far to minimize the number of failed tests: with this option, 
only those 9 tests fail out of the 407 in Python 3.6 This info was found by 
disabling the quiet option, so that is another plus.

If you have time, can I ask a question related to the *.pgc files?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-15 Thread Steve Dower


Steve Dower  added the comment:

You can provide this new default as a command line option when invoking the 
script (--pgo-job, IIRC), which should satisfy the occasional need to do this.

I would rather keep the default quieter so that the build does not take as long 
(though I guess there is the possibility that enabling more output produces a 
better profile, but I doubt it's significant).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos


Change by Jorge Ramos :


--
keywords: +patch, patch, patch
pull_requests: +11193, 11194, 11195
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos


Change by Jorge Ramos :


--
keywords: +patch, patch
pull_requests: +11193, 11194
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos


Change by Jorge Ramos :


--
keywords: +patch
pull_requests: +11193
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-14 Thread Jorge Ramos


New submission from Jorge Ramos :

It would be interesting to allow regrtests to output to command line during 
testing with PGO enabled. The default behavior is to not display output unless 
some fatal error occurs ("quiet" mode).

Making this issue to create a pull request.

--
components: Build, Windows
messages: 333648
nosy: neyuru, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Enable verbose of tests during PGO build on amd64 platforms
type: enhancement
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com