Last active
December 18, 2021 04:14
-
-
Save ding-co/d968c5187f910cdb8a7985105855e897 to your computer and use it in GitHub Desktop.
Measure Performance Time
This file contains 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
import time | |
start_time = time.time() # Start Measure | |
# ** Source Code ** | |
end_time = time.time() # End Measure | |
print("time: ", end_time - start_time) # print performance time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment