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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,3d251c18d8b3155d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-26 04:02:09 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!lon-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: High compilation time with gnat References: User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Message-ID: Date: Wed, 26 Nov 2003 12:00:31 GMT NNTP-Posting-Host: 144.132.42.201 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1069848031 144.132.42.201 (Wed, 26 Nov 2003 23:00:31 EST) NNTP-Posting-Date: Wed, 26 Nov 2003 23:00:31 EST Organization: BigPond Internet Services Xref: archiver1.google.com comp.lang.ada:2956 Date: 2003-11-26T12:00:31+00:00 List-Id: Joachim Schr�er wrote: > Hello, > we have a package spec which uses an enormous compilation time. One of the > specs it withes has about 40_000 lines of source. When I remember correctly > the gnat parser parses all specs in the closure of a given compuation unit. > This sum has a size of about 60_000 loc. > The compilation time seems to rise very nonlinear with the size of single > compilation units. The system is mainly paging to and from harddisc. > Is there a compilation switch for gnat to increase the amount of main memory > it uses or is there any other measure one may take? > Rewriting the source is no option, cause it is a delivery. How much RAM does your computer have? If you have insufficient the performance will be bound by the hard drive transfer speeds. Dale -- dstanbro@spam.o.matic.bigpond.net.au