Mario Charest
|
Re: gcc 4.8.3 compile speed
|
Mario Charest
08/26/2014 1:14 PM
post111560
|
Re: gcc 4.8.3 compile speed
> On 14-08-26 11:31 AM, Mario Charest wrote:
> > Using gcc 4.8.3 (for QNX650 ) it turn out that compile time has increase by
> 25%. I just wonder if 4.8.3 as downloaded from foundry was compile with
> optimisation flag ?
>
> Hi Mario,
>
> Yes, it was built with the default optimization for gcc (-O2). I just
> double checked the build logs to be sure.
>
Ok thanks. I wanted to get that out of the way first, given the non official nature of the release.
> Which host are you running?
Ubuntu 14 64 bits.
> Are your numbers comparing 4.8.2->4.8.3, or 4.8.3 with an older version
4.4.2 versus 4.8.3.
> of gcc?
> Can you compare the runs with -ftime-report?
> Can you share the preprocessed source so I can have a look?
The two setups aren't 100% identical.
4.4.2 : boost 1.45, dinkum, std=gnu++0x
4.8.3: boost 1.55, gcc lib, std=gnu++11
At this point, given your answer, I feel that some of these differences in the environment might explain the 25%
difference and will post-pone the investigation as it will be very difficult to acheive given dinkum isn't available for
4.8.3.to, we have more pressing issue to resolved. We can live with the extra 25%. That being said if you still want
the information you requested I'd be happy to provide it.
>
> Regards,
>
> Ryan Mansfield
>
>
>
>
|
|
|