Re: Can't figure out how to use Connections instrument
On 27 Apr 2015, at 22:39, Jens Alfke j...@mooseyard.com wrote: On Apr 27, 2015, at 9:23 PM, Joar Wingfors j...@joar.com mailto:j...@joar.com wrote: Sounds like a bug report might be in order. This seems so obviously broken that I’m reluctant to think it’s a mere bug; given how obtuse a lot of Instruments’ UI is, it seemed more likely that I was just not understanding how to configure this instrument. I could list a lot of similar things— just to give one example, if I drag the Dispatch instrument into my window, I can’t press the Record button to start the app anymore. Even if it’s a case of “you’re holding it wrong”, a bug report is still the correct course of action if you cannot figure it out. Discoverability issues are also issues. Joar ___ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Can't figure out how to use Connections instrument
On Apr 27, 2015, at 10:59 PM, Joar Wingfors j...@joar.com wrote: Even if it’s a case of “you’re holding it wrong”, a bug report is still the correct course of action if you cannot figure it out. Discoverability issues are also issues. Point taken, and I’ve just filed two Radars covering the issues I described. So, has anyone been able to use Instruments to track network I/O in an iOS app? I want to see the times and byte-counts of individual socket reads and writes, and correlate them with the activity shown by the time profiler. (I’ll ask this on macnetworkprog too.) —Jens ___ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Can't figure out how to use Connections instrument
Sounds like a bug report might be in order. Joar On 27 Apr 2015, at 14:35, Jens Alfke j...@mooseyard.com 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 ProductProfile (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 (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/joar%40joar.com This email sent to j...@joar.com ___ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Can't figure out how to use Connections instrument
On Apr 27, 2015, at 9:23 PM, Joar Wingfors j...@joar.com wrote: Sounds like a bug report might be in order. This seems so obviously broken that I’m reluctant to think it’s a mere bug; given how obtuse a lot of Instruments’ UI is, it seemed more likely that I was just not understanding how to configure this instrument. I could list a lot of similar things— just to give one example, if I drag the Dispatch instrument into my window, I can’t press the Record button to start the app anymore. —Jens ___ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com