This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Speed issues taken seriously?
On Wed, 15 Oct 2003, Lars Gullik Bjønnes wrote:
> a = g++ (GCC) 3.3.2 20031015 (prerelease)
> b = g++ (GCC) 3.4 20031014 (experimental)
>
> | user time | file size | size dec | size text | size data |
> ------------+------------+-----------+----------+-----------+-----------|
> -O | a | 19m44.730s | 4788930 | 3759350 | 3684558 | 19884 |
> | b | 22m45.080s | 5582322 | 4025379 | 3950263 | 19980 |
> --------+---+------------+-----------+----------+-----------+-----------|
> -O2 | a | 22m39.550s | 5052961 | 4024174 | 3949410 | 19884 |
> | b | 24m57.820s | 5084835 | 4160489 | 4085829 | 19860 |
> --------+---+------------+-----------+----------+-----------+-----------|
> -O3 | a | 23m07.770s | 5037109 | 3992125 | 3917397 | 19880 |
> | b | 26m30.820s | 5332135 | 4408351 | 4333699 | 19856 |
> --------+---+------------+-----------+----------+-----------+-----------|
Hmm, that's bad. C++ in GCC 3.4 shouldn't be slower, but faster, at least
at -O2 and -O3 according to previous tests. Jan?
Or file a PR with one preprocessed file that shows the slowdown? (Something
like PR8361.)
> -O2 (1) | b | 24m25.590s | 4860852 | 3884278 | 3809882 | 19888 |
> --------+---+------------+-----------+----------+-----------+-----------|
> -O3 (2) | b | 25m45.220s | 5025193 | 4047663 | 3973255 | 19896 |
> -------------------------------------------------------------------------
>
> (1) -O2 --param max-inline-insns-single=100
> (2) -O3 --param max-inline-insns-single=100 --param max-inline-insns-auto=100
Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/