mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 22:18:00 -05:00
added call to create manifest function at the end of the benchmarks
This commit is contained in:
@@ -218,6 +218,8 @@ def run_benchmark():
|
||||
logging.info("Benchmark took %f seconds", elapsed_test_time)
|
||||
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -167,6 +167,8 @@ def run_benchmark():
|
||||
|
||||
# Exit
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -178,6 +178,8 @@ def run_benchmark(keras_service):
|
||||
|
||||
# Exit
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -179,6 +179,8 @@ def run_benchmark(keras_service):
|
||||
elapsed_test_time = round((test_end_time - test_start_time), 2)
|
||||
logging.info("Benchmark took %f seconds", elapsed_test_time)
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -159,6 +159,8 @@ def run_benchmark(keras_service):
|
||||
|
||||
logging.info("Run completed. Closing game.")
|
||||
time.sleep(2)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -199,6 +199,8 @@ def run_benchmark() -> tuple[float]:
|
||||
logging.info("Benchmark took %s seconds", elapsed_test_time)
|
||||
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -197,6 +197,8 @@ def run_benchmark(keras_service):
|
||||
|
||||
# Exit
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
@@ -165,6 +165,8 @@ def run_benchmark():
|
||||
|
||||
# Exit
|
||||
terminate_processes(PROCESS_NAME)
|
||||
am.create_manifest()
|
||||
|
||||
return test_start_time, test_end_time
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user