From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 13 Jun 2019 10:47:32 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: gprbuild -j8 on Windows 8.1? Date: Thu, 13 Jun 2019 11:47:31 -0400 Organization: IISS Elusive Unicorn Message-ID: <2mr4ge97qq0fhof7thra4u524j3hbl0r4d@4ax.com> References: <6f1fcde3-fcf3-4a20-a1ee-b9c434de346a@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-Q7sybw44Gb18l279QEH+AH0GmM4gWz817ygqKfrERevVRR6C9YLmSNBTsIbjaqqPyEIEmUnPsnvwhxn!c6SFS2YRg+ZXiUtOI4bAZCjddI/PUJq+yB1vOacb857k938haaAtwyVo1Ex/9QRDKUN42n8/ X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2041 Xref: reader01.eternal-september.org comp.lang.ada:56633 Date: 2019-06-13T11:47:31-04:00 List-Id: On Wed, 12 Jun 2019 20:10:02 -0700 (PDT), Stephen Leake declaimed the following: >I'm using GNAT Community 2018. > >I have a main program that takes an annoyingly long time to compile, so I tried > How many .adb files make up that program? As I read the documentation ... >gprbuild -j8 > ... mainly spawn separate compilers; for a single program it still uses a single binder/linker process. If most of your time is in the binder/linker, the option probably won't gain you much time. Even if it does help some, take into account that you will have process startup time for each compiler that gets spawned, along with potential I/O contention. If a lot of the .adb files are fairly small, the startup time may be a significant factor. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/