Re: Strange Interaction with Swift and the Time Profiler
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