From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: gprbuild -j8 on Windows 8.1?
Date: Thu, 13 Jun 2019 11:47:31 -0400
Date: 2019-06-13T11:47:31-04:00 [thread overview]
Message-ID: <2mr4ge97qq0fhof7thra4u524j3hbl0r4d@4ax.com> (raw)
In-Reply-To: 6f1fcde3-fcf3-4a20-a1ee-b9c434de346a@googlegroups.com
On Wed, 12 Jun 2019 20:10:02 -0700 (PDT), Stephen Leake
<stephen_leake@stephe-leake.org> 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/
next prev parent reply other threads:[~2019-06-13 15:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 3:10 gprbuild -j8 on Windows 8.1? Stephen Leake
2019-06-13 9:40 ` Egil H H
2019-06-13 15:47 ` Dennis Lee Bieber [this message]
2019-06-17 5:54 ` Fraser Wilson
2019-06-19 17:54 ` Stephen Leake
2019-06-21 18:36 ` G. B.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox