Re: Moving from CodeWarrior to XCode (Roni Music)
Re: Moving from CodeWarrior to XCode (Roni Music)
- Subject: Re: Moving from CodeWarrior to XCode (Roni Music)
- From: "Roni Music" <email@hidden>
- Date: Tue, 14 Jun 2005 13:43:44 +0200
Hi,
Thanks to everyone that responded to my questions below!
The following advice fixed the processor ussage problem:
>Try -Os (optimize for Size) for most code. Use -O3 for only the most
>performance critical code.
The bottle neck was in my DSP code which is cross platform between Windows and Mac.
Now performs equal to the CodeWarrior build.
Great!
The code size is still about 50% bigger but that really doesn't matter
Rolf
> Message: 2
> Date: Mon, 13 Jun 2005 18:50:09 +0200
> From: "Roni Music" <email@hidden>
> Subject: CW to XCode
> To: <email@hidden>
> Message-ID: <000701c57037$f56c6100$6500a8c0@dator1>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi,
>
> I just moved over one of my apps (an audio player) from
> CodeWarrior to XCode.
>
> Besides a lot of warnings, it build and runs OK,
>
> but the processor ussage (during playback) has gone up from about 22% to 37% on my dual 1 GHz G4
> and the code size is doubbled.
>
> This is in the release build with Optimization -> Fastest (-O3)
>
> Is this expected?
> Does CodeWarrior generate that much better/faster code
> or are there settings in XCode I have missed?
>
> Thanks
> Rolf
_______________________________________________
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