12 lines
348 B
Python
Raw Normal View History

2024-12-01 21:03:07 +00:00
import subprocess
import time
print("***benchmarking***")
time_start = time.time()
subprocess.check_output('./isspam books/*.txt', shell=True)
print("Time C:",time.time() - time_start)
time_start = time.time()
subprocess.check_output('./risspam books/*.txt', shell=True)
print("Time Rust:",time.time() - time_start)
print("***end benchmark***")