Skip to content

Instantly share code, notes, and snippets.

@0xced
Created June 20, 2016 23:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xced/68ac67a4344411e68518c0c147c804c9 to your computer and use it in GitHub Desktop.
Save 0xced/68ac67a4344411e68518c0c147c804c9 to your computer and use it in GitHub Desktop.
NSURLSessionTaskTransactionMetrics start and end dates visualization reproduced from WWDC 2016 session 711
secureConnectionStart
│ secureConnectionEnd
domainLookupStart │ │ responseStart
│ │ │ │
│ connectStart │ ││ connectEnd │
fetchStart │ │ │ ││ │ responseEnd
│ │ ├──────────┼────────────────┴┤ │ │
│ │ │ TCP │ TLS │ │ │
├─────────┼─────────┼──────────┴─────────────────┼─────┬───────────┼──────┤
│ Task │ DNS │ Connection Establishment │ GET │ HTTP │200 OK│
└─────────┴─────────┼────────────────────────────┼─────┼───────────┴──────┘
│ │ │
│ │ │
│ │ │
domainLookupEnd requestStart│
requestEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment