Skip to content

Instantly share code, notes, and snippets.

@SrChach
Created August 27, 2019 18:33
Show Gist options
  • Save SrChach/e0bec6d4c4e872ba4747db562da92f6c to your computer and use it in GitHub Desktop.
Save SrChach/e0bec6d4c4e872ba4747db562da92f6c to your computer and use it in GitHub Desktop.
See time that processes late in various languages
import datetime
begin = datetime.datetime.now()
# Code we want to measure goes here
end = datetime.datetime.now()
time = end - begin
print("\n" * 5, time.seconds , "\n" * 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment