MKBlockTimer
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/MugunthKumar/MKBlockTimer
软件介绍
可以很方便获取某段代码的执行时间。使用十分简单,只需将某段需要获取执行时间的代码加进logTimeTakenToRunBlock即可。例如:
[self logTimeTakenToRunBlock:^{
for(int i = 0 ; i < 1000000000; i );
} withPrefix:@"Code4App"]; [Code4App.com]
