-
-
Save vedranmarkulj/4d38e9eea270154bef79c6b123fb2b45 to your computer and use it in GitHub Desktop.
Post - Optimise Python code for data preparation using Concurrent features
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import glob | |
from compressing import compres | |
start_time = time.time() | |
for file_name in glob.glob("../data/test_compres/*.png"): | |
compres.compress_image(file_name) | |
end_time = time.time() | |
print(end_time - start_time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment