Re: LTO Question
Re: LTO Question
- Subject: Re: LTO Question
- From: Sean McBride <email@hidden>
- Date: Fri, 08 Mar 2013 12:18:32 -0500
- Organization: Rogue Research Inc.
On Fri, 8 Mar 2013 13:49:57 +0100, Luca Ciciriello said:
>There is some aspect of the Link-Time Optimization that I do not
>understand very well.
>
>I've an iOS application with a massive use of C++11, in particular
>"regex" and "for_each with lambda functions". Some routines of this
>application are very time consuming. In example I've a routine that
>needs 3268 milliseconds to perform its task. As I told you before this
>routine is written in C++11 (I use -std=c++11 in Xcode settings)
>Now Activating the LTO from Build Settings in Xcode I see that this time
>increase to 4002 milliseconds. This is contrary to my expectation of
>optimisation and do not understand why.
You don't really give enough info for anyone to help.
Have you run Instruments.app to profile your code?
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >LTO Question (From: Luca Ciciriello <email@hidden>) |