Skip to content

Instantly share code, notes, and snippets.

@deanwampler
Created March 23, 2020 23:34
Show Gist options
  • Save deanwampler/2bff07103b67d43658d0d1cc965398f5 to your computer and use it in GitHub Desktop.
Save deanwampler/2bff07103b67d43658d0d1cc965398f5 to your computer and use it in GitHub Desktop.
start = time.time()
objs = [(i, busy(1.0)) for i in range(5)]
print('duration: %6.3f seconds' % (time.time() - start))
for i,obj in list(objs):
print(f'{i}: {obj}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment