• 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: Strange Interaction with Swift and the Time Profiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Interaction with Swift and the Time Profiler


  • Subject: Re: Strange Interaction with Swift and the Time Profiler
  • From: Thomas Wetmore <email@hidden>
  • Date: Sun, 13 Jul 2014 13:34:30 -0400

Jens,

You're guess that I might be seeing an optimization artifact is right. I was so fascinated with the result that I stopped thinking. After changing optimization levels for the stand-alone run, I get the same apparent performance as for the instruments build.

Thanks.

Tom Wetmore

On Jul 13, 2014, at 12:52 PM, Jens Alfke <email@hidden> wrote:

>
> On Jul 13, 2014, at 8:03 AM, Thomas Wetmore <email@hidden> wrote:
>
>> Now the interesting part. When running the test program under the Time Profiler, it runs lickity-split, and most importantly, correctly, at about the speeds I would expect it to do before any fine tuning.
>
> Just to eliminate the obvious: when you got the slow performance without the profiler, you were running a Release (optimized) build, not a Debug (unoptimized) build, right? Because by default the Run command builds Debug, while the Profile command builds Release; and for code like you’re describing, it would be normal for a Debug build to be much slower.
>
> —Jens


 _______________________________________________
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


References: 
 >Strange Interaction with Swift and the Time Profiler (From: Thomas Wetmore <email@hidden>)
 >Re: Strange Interaction with Swift and the Time Profiler (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Xcode 6beta3, Swift, UITableView and auto complete
  • Next by Date: Installing additional required components
  • Previous by thread: Re: Strange Interaction with Swift and the Time Profiler
  • Next by thread: Installing additional required components
  • Index(es):
    • Date
    • Thread