度量
Measure
是 性能度量工具
示例
// set name, threshold (NSTimeInterval)
var measure = Measure(name: "name of operation", threshold: 1 / 60)
measure.start()
// Run the process to be measured.
measure.end()
需求
安装
Measure可以通过CocoaPods获得。要安装它,只需将以下行添加到Podfile中
pod "Measure"
作者
muukii, [email protected]
许可协议
Measure可在MIT许可下使用。更多信息请参阅LICENSE文件。