[Bench] Flush cache before benchmarking (#2566)
This commit is contained in:
@@ -924,6 +924,7 @@ async def benchmark(
|
|||||||
f"are correctly specified. Error: {test_output.error}"
|
f"are correctly specified. Error: {test_output.error}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
requests.post(base_url + "/flush_cache")
|
||||||
print("Initial test run completed. Starting main benchmark run...")
|
print("Initial test run completed. Starting main benchmark run...")
|
||||||
|
|
||||||
time.sleep(1.5)
|
time.sleep(1.5)
|
||||||
|
|||||||
Reference in New Issue
Block a user