@@ -1160,41 +1160,42 @@ def process_self_contained_coordinator_stream(
11601160 datapoint_time_ms = git_timestamp_ms
11611161 if "vector_db_benchmark" in benchmark_tool :
11621162 print (f"Debug: Post-processing vector-db-benchmark results" )
1163- vdb_results = post_process_vector_db (temporary_dir_client )
1164- print (f"Debug: results: { vdb_results } " )
1165- post_process_benchmark_results (
1166- benchmark_tool ,
1167- local_benchmark_output_filename ,
1168- datapoint_time_ms ,
1169- start_time_str ,
1170- client_container_stdout ,
1171- None ,
1172- )
1173- full_result_path = local_benchmark_output_filename
1174- if "memtier_benchmark" in benchmark_tool :
1175- full_result_path = "{}/{}" .format (
1176- temporary_dir_client ,
1163+ results_dict = post_process_vector_db (temporary_dir_client )
1164+ print (f"Debug: results: { results_dict } " )
1165+ else :
1166+ post_process_benchmark_results (
1167+ benchmark_tool ,
11771168 local_benchmark_output_filename ,
1169+ datapoint_time_ms ,
1170+ start_time_str ,
1171+ client_container_stdout ,
1172+ None ,
11781173 )
1179- logging .info (
1180- "Reading results json from {}" .format (
1181- full_result_path
1174+ full_result_path = local_benchmark_output_filename
1175+ if "memtier_benchmark" in benchmark_tool :
1176+ full_result_path = "{}/{}" .format (
1177+ temporary_dir_client ,
1178+ local_benchmark_output_filename ,
1179+ )
1180+ logging .info (
1181+ "Reading results json from {}" .format (
1182+ full_result_path
1183+ )
11821184 )
1183- )
11841185
1185- with open (
1186- full_result_path ,
1187- "r" ,
1188- ) as json_file :
1189- results_dict = json .load (json_file )
1190- print_results_table_stdout (
1191- benchmark_config ,
1192- default_metrics ,
1193- results_dict ,
1194- setup_type ,
1195- test_name ,
1196- None ,
1197- )
1186+ with open (
1187+ full_result_path ,
1188+ "r" ,
1189+ ) as json_file :
1190+ results_dict = json .load (json_file )
1191+ print_results_table_stdout (
1192+ benchmark_config ,
1193+ default_metrics ,
1194+ results_dict ,
1195+ setup_type ,
1196+ test_name ,
1197+ None ,
1198+ )
11981199
11991200 dataset_load_duration_seconds = 0
12001201 try :
0 commit comments