• 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: Xcode performance issues over time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode performance issues over time


  • Subject: Re: Xcode performance issues over time
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 9 Mar 2010 19:12:41 -0800

On 2010 Feb 15, at 18:29, Jens Alfke wrote:

> Use a profiling tool like sample or Shark to capture what Xcode's doing during both the slow and the fast search, then compare the results. ...
>
> Whatever you find, wrap it all up in a bug report to post to Apple.

OK, I used Activity Monitor since I can do it without reading documentation.

Apple Problem ID 7736457

Summary: If I use Xcode every day without quitting, after a week or two it gets slower and slower.

Steps to Reproduce:
1.  Launch Xcode on a big project.
2.  Do a project-wide search, twice (to make sure the caches are warmed up).  The second time, it takes 7 seconds.
3.  Work on the project for a week or two.
4.  Do the same project-wide search, twice, recording the time on the second try
5.  Quit Xcode
6.  Relaunch.
7.  Do the same project-wide search, twice, recording the time on the second try.

Expected Results:
Should always take approximately the same 7 seconds

Actual Results:
After Xcode has been running for a week, takes 20 seconds.
After relaunching Xcode, back down to 7 seconds.

Notes:
Although this is probably subjective and biased, because I didn't keep accurate records, it seems to me that other operations such as building slow down too.

A zip file with two Activity Monitor logs is attached.  SampleXcodeSlow was taken during step 4, when it took 20 seconds.  SampleXcodeFast was taken during step 7, when it took 7 seconds

Tests were done on my Early 2006 Duo Mac Mini with 1.66 GHz Intel Core 2 Processor and memory 2 GB 667 MHz DDR2 SDRAM. _______________________________________________
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: Xcode performance issues over time
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: non_lazy_pointer error?
  • Next by Date: Re: Tab Bar Controller - what am I missing?
  • Previous by thread: Re: non_lazy_pointer error?
  • Next by thread: Re: Xcode performance issues over time
  • Index(es):
    • Date
    • Thread