iOS开发 - 打印启动耗时

Xcode: Product - Scheme - Edit Scheme - Arguments

key:DYLD_PRINT_STATISTICS_DETAILS value:1
image.png

效果:

  total time: 1.5 seconds (100.0%)
  total images loaded:  476 (470 from dyld shared cache)
  total segments mapped: 22, into 416 pages
  total images loading time: 1.0 seconds (68.3%)
  total load time in ObjC: 122.99 milliseconds (8.0%)
  total debugger pause time: 888.87 milliseconds (58.0%)
  total dtrace DOF registration time:   0.00 milliseconds (0.0%)
  total rebase fixups:  37,175
  total rebase fixups time:   5.93 milliseconds (0.3%)
  total binding fixups: 3,434
  total binding fixups time: 258.97 milliseconds (16.9%)
  total weak binding fixups time:   7.21 milliseconds (0.4%)
  total redo shared cached bindings time:  10.54 milliseconds (0.6%)
  total bindings lazily fixed up: 0 of 0
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容