[Bench] Flush cache before benchmarking (#2566)

This commit is contained in:
Ying Sheng
2024-12-24 11:21:21 +08:00
committed by GitHub
parent e835a50021
commit 8a56b43175
+1
View File
@@ -924,6 +924,7 @@ async def benchmark(
f"are correctly specified. Error: {test_output.error}"
)
else:
requests.post(base_url + "/flush_cache")
print("Initial test run completed. Starting main benchmark run...")
time.sleep(1.5)