Date: Sun, 22 Mar 1998 17:08:20 +0300 (IDT) From: Eli Zaretskii To: Jason Dagit cc: djgpp AT delorie DOT com Subject: Re: 386 (anti)benchmarks! In-Reply-To: <3515145B.50C5422C@mail.coos.or.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 22 Mar 1998, Jason Dagit wrote: > gpp test.cc -o test.exe > This took about 2 hrs give or take a half hour! and produced ~300k file. > > Now, that is a difference. On my Pentium 120mhz 80megs of RAM with 2 > gigs of HD the compile times are less then 10 seconds. The C++ compiler is a memory hog. On your memory-starved machine it pages like hell, and is therefore much slower. If at all possible, add memory. If not, use every trick in the book to make your DOS file I/O as fast and as efficient as you can. You didn't post any system configuration info, so I'm unable to give specific advice, but section 3.9 of the DJGPP FAQ list has some guidelines, including for memory-starved machines. > I really didn't expect the C++ to compile so slowly. How did anyone > ever write software on those older computers? :) There is an opinion at large that vendors and programming language designers have conspired to push us to buy ever faster and memory-abundant machines... Another alternative is to not use C++ ;-).