Advertisement
Guest User

benchmark len8 bruteforce CPU - dipeperon

a guest
May 25th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import itertools
  2. import time
  3. import string
  4.  
  5.  
  6. time_start = time.time()
  7. count = 0
  8. for x in itertools.product(string.ascii_lowercase + string.digits, repeat=8):
  9. x = "".join(x)
  10. count += 1
  11. if time.time() - time_start >= 30:
  12. break
  13.  
  14. print ("Benchmarked in 30s: {0} output on single thread".format(count))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement