2018-04-28, 继续 性能优化 2, OC associated objects lazy load

提升还算明显

Total pre-main time: 2.1 seconds (100.0%)
         dylib loading time: 181.83 milliseconds (8.5%)
        rebase/binding time: 206.46 milliseconds (9.7%)
            ObjC setup time: 774.81 milliseconds (36.5%)
           initializer time: 956.20 milliseconds (45.1%)
           slowest intializers :
             libSystem.B.dylib :  23.68 milliseconds (1.1%)
    libMainThreadChecker.dylib : 101.87 milliseconds (4.8%)
          libglInterpose.dylib : 333.77 milliseconds (15.7%)
         libMTLInterpose.dylib :  93.30 milliseconds (4.4%)
                       ModelIO :  56.32 milliseconds (2.6%)
                    ztoExpress : 364.34 milliseconds (17.1%)


采用的思路是, 三方服务, 随用,随注册



这个问题,真恶心,
OC associated objects lazy load

完全就是两份文件,对比着看。

2018-04-28, 继续 性能优化 2, OC associated objects lazy load_第1张图片
error

你可能感兴趣的:(2018-04-28, 继续 性能优化 2, OC associated objects lazy load)