Created
October 18, 2019 09:28
-
-
Save danie7k/e645b0351b7678c4043eb09ee3387f44 to your computer and use it in GitHub Desktop.
CFAbsoluteTime measuring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let start = CFAbsoluteTimeGetCurrent() | |
// run your work | |
let diff = CFAbsoluteTimeGetCurrent() - start | |
print("Took \(diff) seconds") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment