Skip to content

Instantly share code, notes, and snippets.

@seongyooncho
Created August 27, 2018 21:43
Show Gist options
  • Save seongyooncho/b47a258deccae7c3aa871cf07232bc2f to your computer and use it in GitHub Desktop.
Save seongyooncho/b47a258deccae7c3aa871cf07232bc2f to your computer and use it in GitHub Desktop.
import time
import numpy as np
a = np.zeros((1080 * 4, 1920, 3))
last_time = time.time() * 1000
for i in range(1000) :
np.save('{}.npy'.format(i), a)
now = time.time() * 1000
print(i, now - last_time)
last_time = now
~
~
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment