调试函数耗时的利器CFAbsoluteTimeGetCurrent CFAbsoluteTime start = CFAbsoluteTimeGetCurrent(); // do something CFAbsoluteTime end = CFAbsoluteTimeGetCurrent(); NSLog(@"time cost: %0.3f", end - start); ios 2024-01-09 51 点赞 0 评论 77 浏览