![](/img/trans.png)
[英]How to track the user location at full time with a delphi app under android/ios
[英]How to track response time of transactions in iOS app
跟踪 iOS 应用程序的响应时间如何使用仪器来做到这一点。 也在寻找一种工具或方法来捕获 android 应用程序中关键事务的响应时间。
您也可以尝试使用 NSLog 记录时间,如下所示:
//log the time
NSDate *methodStart = [NSDate date];
//Do your transaction and when success execute ...
NSDate *methodFinish = [NSDate date];
NSTimeInterval executionTime = [methodFinish timeIntervalSinceDate:methodStart];
NSLog(@"Total time = %f", executionTime);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.