@@ -1160,41 +1160,42 @@ def process_self_contained_coordinator_stream(
1160
1160
datapoint_time_ms = git_timestamp_ms
1161
1161
if "vector_db_benchmark" in benchmark_tool :
1162
1162
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 ,
1177
1168
local_benchmark_output_filename ,
1169
+ datapoint_time_ms ,
1170
+ start_time_str ,
1171
+ client_container_stdout ,
1172
+ None ,
1178
1173
)
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
+ )
1182
1184
)
1183
- )
1184
1185
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
+ )
1198
1199
1199
1200
dataset_load_duration_seconds = 0
1200
1201
try :
0 commit comments