Re: Can't figure out how to use Connections instrument
Re: Can't figure out how to use Connections instrument
- Subject: Re: Can't figure out how to use Connections instrument
- From: Joar Wingfors <email@hidden>
- Date: Mon, 27 Apr 2015 21:23:54 -0700
Sounds like a bug report might be in order.
Joar
> On 27 Apr 2015, at 14:35, Jens Alfke <email@hidden> wrote:
>
> Am I the only person who can’t figure out Instruments? I’ve learned how to use the Time Profiler instrument pretty well, and it’s useful, but I’m profiling some complex activity that includes TCP I/O, parsing and database queries and I need insight into more than just CPU cycles.
>
> Here’s my current pain point: I can’t figure out how to get the Connections instrument to work. I get as far as this:
>
> 1. In Xcode I choose Product>Profile (Cmd-I)
> 2. In Instruments I select the Time Profiler template
> 3. I open the library and drag the Connections template into the instrument list
> 4. I press Record
>
> Now Instruments pops up a “Choose Target for Connections” alert. I guess this is asking what process the Connections instrument should monitor — but why does it need to ask? The profile session is already attached to my app (it’s in the pop-up in the toolbar.) Worse, the alert’s process list *only shows running processes*, so my app isn’t in the list. Therefore I can’t start profiling unless I remove the Connections instrument.
>
> (I’ve tried using the Activity Monitor instrument to track network I/O, as suggested in the docs. But its granularity is one second, which is uselessly long for my app which is making dozens of reads/writes per second.)
>
> —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
_______________________________________________
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