12 lines
351 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()
2024-12-01 21:32:23 +00:00
subprocess.check_output('./risspam -p books/*.txt', shell=True)
2024-12-01 21:03:07 +00:00
print("Time Rust:",time.time() - time_start)
print("***end benchmark***")