Advertisement
Guest User

Untitled

a guest
Feb 21st, 2021
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. from memory_profiler import profile
  2.  
  3.  
  4. @profile
  5. def test():
  6.     with open("database/jobs_all_design.json") as json_file:
  7.         jobs_local_database = json.load(json_file)
  8.  
  9.  
  10. while True:
  11.     test()
  12.     time.sleep(0.1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement