[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Re: Profiler output
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Re: Profiler output |
Date: |
Tue, 12 Nov 2002 15:49:24 +0100 |
User-agent: |
Mutt/1.4i |
On Tue 12 Nov 2002 (08:41 +0100), ?ystein O Johansen wrote:
>
> Which optimization level do you use?
>
> Have you tried comparing different optimisations leves against each other?
> Have you tried comparing different optimisations levels and different
> compilers against each other?
>
> Any conclusion?
>
> When I'm building for windows, I'm using -O2 with gcc-2.95.3, do you think
> I can gain something by update the compiler or change the optimisation
> level?
Under FreeBSD, here are the results for gcc 2.95 -O2 and gcc 3.2 -O2,
with and without inlining EqualKeys():
2.95:
no inline
real 22m58.945s
user 22m40.198s
sys 0m0.484s
inline
real 23m30.233s
user 23m11.330s
sys 0m0.625s
3.2:
no inline
real 21m51.666s
user 21m32.030s
sys 0m0.563s
inline
real 22m59.310s
user 22m38.078s
sys 0m0.586s
inlining EqualKeys doesn't help, switching versions is just under 5%
faster.
--
Jim Segrave address@hidden