Guest User

Untitled

a guest
Oct 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. import cProfile
  2.  
  3. import numpy as np
  4.  
  5.  
  6. def main():
  7. dim = 1000
  8. a = np.random.random((dim, dim))
  9. cProfile.runctx('a @ a', {}, {'a': a})
  10.  
  11.  
  12. if __name__ == '__main__':
  13. main()
Add Comment
Please, Sign In to add comment