• 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
Profiling network I/O with Instruments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Questions on when credentials are used in NSURLSessionDownloadTask
  • Next by Date: Known problems with calling [NSURLSessionDataTask cancel]?
  • Previous by thread: Re: Authentication isn't reentrant?
  • Next by thread: Known problems with calling [NSURLSessionDataTask cancel]?
  • Index(es):
    • Date
    • Thread