• 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: gcc complier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc complier


  • Subject: Re: gcc complier
  • From: Mark Lentczner <email@hidden>
  • Date: Tue, 8 Feb 2005 08:41:50 -0800

Vlad -

Something else is probably wrong with your system...

Now, project sizes are a poor measure, but our project has

	76614 lines total
	14915 lines in 113 headers
	61699 lines in 168 source files (most c++, some c)

There is moderate to heavy use of templates and in-line functions. This project doesn't include any of the OS X headers (it is a command line tool), and doesn't make use of pre-compiled headers. C++ compilation times can vary widely based a project's include structure, use of templates and in-line functions, and optimization level.

On my laptop (800Mhz G4, 512M ram, slow harddisk), compilation times are:

	Xcode, development build (zero-link):
		6m58s (roughly 150 source lines/s)

	Makefile, optimized build (-O3, w/copy and strip phase):
		11m26s (roughly 90 source lines/s)

All of these timings were taken while my normal application load was present on the machine (you know, Mail, iChat, news reader, browser, etc...) all running, though I wasn't using them.

Clearly, your 30 seconds for a few hundred lines represents something not working as expected.

	- Mark

Mark Lentczner
email@hidden
http://www.wheatfarm.org/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: gcc complier
      • From: Mark Dalrymple <email@hidden>
References: 
 >gcc complier (From: Vlad Alexander (XStandard) <email@hidden>)

  • Prev by Date: Re: gcc complier
  • Next by Date: MallocDebug and multiple definitions
  • Previous by thread: Re: gcc complier
  • Next by thread: Re: gcc complier
  • Index(es):
    • Date
    • Thread