Skip to content

Instantly share code, notes, and snippets.

@DaniDotExe
Last active October 15, 2023 18:53
Show Gist options
  • Save DaniDotExe/fcfc7c0a05365d300ab18551752f5035 to your computer and use it in GitHub Desktop.
Save DaniDotExe/fcfc7c0a05365d300ab18551752f5035 to your computer and use it in GitHub Desktop.
time calculation for one block of code
import time
start = time.perf_counter()
#Insert code below
end = time.perf_counter()
print(f'tiempo: {end - start}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment