Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'makefile': 0.09; 'option,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'variables.': 0.09; 'python': 0.11; 'jan': 0.12; "'c'": 0.16; 'out)': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'suite.': 0.16; "test'": 0.16; 'wrote:': 0.18; 'variable': 0.18; 'seems': 0.21; 'command': 0.22; '>>>': 0.22; 'tests': 0.22; 'header:User- Agent:1': 0.23; 'instance,': 0.24; 'environment': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'wondering': 0.29; 'chris': 0.29; 'am,': 0.29; 'changed.': 0.31; 'follows': 0.31; 'option.': 0.31; 'option': 0.32; 'run': 0.32; 'running': 0.33; 'comment': 0.34; 'core': 0.34; 'test': 0.35; 'but': 0.35; 'otherwise.': 0.36; 'should': 0.36; 'christian': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'applicable': 0.60; 'most': 0.60; 'entire': 0.61; 'times': 0.62; 'become': 0.64; 'prompt': 0.68; 'export': 0.74; 'cuts': 0.84; 'ps.': 0.84; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Building CPython Date: Fri, 15 May 2015 17:19:06 -0400 References: <7JN4x.37133$Q41.15375@fx25.am4> <6w35x.645690$I97.19867@fx31.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431724767 news.xs4all.nl 2836 [2001:888:2000:d::a6]:42914 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90693 On 5/15/2015 6:51 AM, Christian Gollwitzer wrote: > Am 14.05.15 um 20:50 schrieb Terry Reedy: >> On 5/14/2015 1:11 PM, Chris Angelico wrote: >> >>> 2) make test - run the entire test suite. Takes just as long every >>> time, but most of it won't have changed. >> >> The test runner has an option, -jn, to run tests in n processes instead >> of just 1. On my 6 core pentium, -j5 cuts time to almost exactly 1/5th >> of otherwise. -j10 seems faster but have not times it. I suspect that >> 'make test' does not use -j option. >> > > Just to clarify, -j is an option of GNU make to run the Makefile in > parallel. Unless the Makefile is buggy, this should result in the same > output. You can also set an environment variable to enable this > permanently (until you log out) like > > export MAKEFLAGS=-j5 > > Put this into your .bashrc or .profile, and it'll become permanent. This is not applicable when running on Windows. I was specifically referring, for instance, to entering at command prompt current_dir> python -m test -j10 AFAIK, test.__main__ does not look at environmental variables. ps. I have been wondering why 'j' rather than, say 'c' or 'p' was used for 'run in parallel on multiple cores'. Your comment suggests that 'j' follows precedent. -- Terry Jan Reedy