• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -O3 vs. -Os
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -O3 vs. -Os


  • Subject: Re: -O3 vs. -Os
  • From: Rustam Muginov <email@hidden>
  • Date: Tue, 17 Jan 2006 10:50:13 +0300

Perharbs this is more suitable for "performance-optimization" dev.list., but:

Regular applications do not have heavy computation mathematics and do not have clearly visible "hot-spots", i.e. small parts of code where application spend something like 50% or more total time.
I would recommend you to use Shark (part of the CHUD tools) to investigate application run-time behaviour


--
Sincerely,
	Rustam Muginov

On Jan 17, 2006, at 10:41 AM, Steve Checkoway wrote:


On Jan 16, 2006, at 11:30 PM, Rustam Muginov wrote:

I believe that -O3 is only useful in the heavily computational tasks.
"Regular" apps would benefit from -Os optimizaiton, and only manualy-tuned high-performance libraries would work faster with -O3

Two questions. First, how would you define "Regular"?

Second, on what do you base that assertion? The idea that smaller code is faster makes perfect sense when you think about it from a cache point of view. Turning off optimizations and making the code larger at the same time doesn't seem likely to improve performance.

- Steve


_______________________________________________ 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
  • Follow-Ups:
    • Re: -O3 vs. -Os
      • From: Steve Checkoway <email@hidden>
References: 
 >-O3 vs. -Os (From: Steve Checkoway <email@hidden>)
 >Re: -O3 vs. -Os (From: Rustam Muginov <email@hidden>)
 >Re: -O3 vs. -Os (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: -O3 vs. -Os
  • Next by Date: Re: -O3 vs. -Os
  • Previous by thread: Re: -O3 vs. -Os
  • Next by thread: Re: -O3 vs. -Os
  • Index(es):
    • Date
    • Thread