SHARE
TWEET

benchmark len8 bruteforce CPU - dipeperon

a guest May 25th, 2019 14 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top