Mail Archives: djgpp/1994/03/29/08:28:04
Here is some more measurements:
The makeinfo.c source was compiled with BC++ 3.1, which runs in protected
mode using DPMI, with several different optimization levels, and also with
DJ GCC 1.11maint4 with two additional levels of optimization. All the tests
below were run on a 486DX2-66/16M described in my previous message. The
results are given in lines per second, counting the 7500 source lines plus
circa 1500 lines in include files:
Command Compilation speed, lines per second
---------------------------------------------------
bcc -O2 640
bcc -O1 820
bcc -O 950
bcc 1020
gcc -O2 260 (reported in my previous message)
gcc -O1 320
gcc 360
Using the ``topline'' parameter of the GO32 environment variable, it can be
seen that CPP and AS programs together take about 15% of the total compilation
time, so that (a frequently heard) argument about GCC being multi-pass as
oppposed to a single-pass BCC, is probably *not* an explanation to the speed
difference.
Eli Zaretskii
- Raw text -