• 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
App slowed down going from Xcode 3.2.6 to 4.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App slowed down going from Xcode 3.2.6 to 4.2


  • Subject: App slowed down going from Xcode 3.2.6 to 4.2
  • From: "Ray, Jeffrey R. {Jeff} (DFRC-ME)" <email@hidden>
  • Date: Tue, 14 May 2013 18:13:44 -0500
  • Acceptlanguage: en-US
  • Thread-topic: App slowed down going from Xcode 3.2.6 to 4.2

Hi all,

I've finally bitten the bullet and started learning Cocoa so I can port my
primary product (a mostly OpenGL display tool) from Carbon into this
century.

To begin this process, I've installed Xcode 4.2 (we are limited to 10.6
here) alongside my trusty Xcode 3.2.6, imported my application's project,
tweaked a few settings, and now it compiles and runs (as a Carbon app, of
course).

However, it is dog slow compared to the same app compiled in Xcode 3.
I've tried changing compilers and SSE settings (my app relies on SSE2),
with no improvement.  Specifically, the app does most of the GL on the
main thread, which appears to be just as fast as before.  But it spawns
multiple secondary threads (pthread_create) to load and compress (via
libsquish) texture data, then uses a shared secondary context to upload it
to GL "live".  This texture loading process appears to be far slower than
before.  This code runs fast on three other operating systems, so I'm
inclined to think it's not the code that's faulty.

So before I drag out time consuming diagnostic tools, is there something
about Xcode 4.2 I didn't notice?  Some obscure compiler setting?  Perhaps
it doesn't like pthreads anymore?

Thanks,

-j

------------------------------------------------------------------
Jeff Ray M/S 4840A              Official Correspondence Only:
NASA                                             email@hidden
Dryden Flight Research Center               email@hidden
P. O. Box 273
Edwards, CA 93523-0273          All Others:        email@hidden
(661) 276-3754





 _______________________________________________
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

  • Prev by Date: Re: How to Install Apple Development Certificates (CAs)?
  • Next by Date: sandboxing entitlement
  • Previous by thread: Re: Xcode showing Products in red
  • Next by thread: sandboxing entitlement
  • Index(es):
    • Date
    • Thread