Skip to content

Instantly share code, notes, and snippets.

@emarashliev
Last active September 3, 2018 21:19
Show Gist options
  • Save emarashliev/05e7cc75ffd2a8e288c79ecf64ccf877 to your computer and use it in GitHub Desktop.
Save emarashliev/05e7cc75ffd2a8e288c79ecf64ccf877 to your computer and use it in GitHub Desktop.
let begin = clock()
// DO SOMETHING
let diff = Double(clock() - begin) / Double(CLOCKS_PER_SEC)
print("Execution time: \(diff)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment