NSURLSessionTaskTransactionMetrics
An object that encapsualtes the performance metrics collected by the URL Loading System during the execution of a session task.
用于封装在执行会话任务期间URL加载系统收集的性能指标。
Apple官方文档参考-
Timeline of temporal metrics for a URL session task
URL会话任务的时间指标时间轴
image.png fetchStartDate
The time when the task started fetching the resource, from the server or locally.domainLookupStartDate
The time immediately before the task started the name lookup for the resource.domainLookupEndDate
The time after the name lookup was completed.connectStartDate
The time immediately before the task started establishing a TCP connection to the server.secureConnectionStartDate
The time immediately before the task started the TLS security handshake to secure the current connection.secureConnectionEndDate
The time immediately after the security handshake completed.connectEndDate
The time immediately after the task finished establishing the connection to the server.requestStartDate
The time immediately before the task started requesting the resource, regardless of whether it is retrieved from the server or local resources.requestEndDate
The time immediately after the task finished requesting the resource, regardless of whether it was retrieved from the server or local resources.responseStartDate
The time immediately after the task received the first byte of the response from the server or from local resources.responseEndDate
The time immediately after the task received the last byte of the resource.
iOS-关于网络性能监控的总结
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 作者:敖志敏本文为原创文章,转载请注明作者及出处 国内移动网络环境非常复杂,WIFI、4G、3G、2.5G(Edg...
- Different Components NodeManager The NodeManager is YARN‘...
- AWS认证介绍 AWS Certified Solutions Architect 系列认证是亚马逊从2013年开...
- =========================================================...