Profiling network I/O with Instruments?
Profiling network I/O with Instruments?
- Subject: Profiling network I/O with Instruments?
- From: Jens Alfke <email@hidden>
- Date: Tue, 28 Apr 2015 08:52:30 -0700
I’m trying to optimize some fairly complex GCD-based code that’s reading data from a TCP socket, parsing and manipulating it, and adding it to a local database. So far I’ve been using the Time Profiler in Instruments, which works well, but I also want to see when reads and writes occur. Specifically I want to make sure that network I/O is never being indirectly blocked by disk I/O and vice versa.
I find Instruments pretty frustrating to work with, and I haven’t been able to get the Connections instrument to work at all. (I’ve gone into more detail in a thread on the xcode-users list.) I don’t want to get into a gory discussion of Instruments here, but I thought I’d ask because there are likely to be people here who’ve done profiling of network I/O and could hopefully share info on how it’s done. TIA!
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden