CustomRuleTimer
public final class CustomRuleTimer
Utility to measure the time spent in each custom rule.
-
Singleton.
Declaration
Swift
public static let shared: CustomRuleTimer
-
Tell the timer it should record time spent in rules.
Declaration
Swift
public func activate()
-
Return all time spent for each custom rule, keyed by rule ID.
Declaration
Swift
public func dump() -> [String : TimeInterval]