Skip to content

Fix perf table creation failure in case expected test is not found #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions scripts/create_perf_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
right_border = workbook.add_format({'right': 2})
for task_name in list(set(set_of_task_name)):
for type_of_task in list_of_type_of_tasks:
if task_name not in result_tables[table_name].keys():
print(f"Warning! Task '{task_name}' is not found in results")
worksheet.write(it_j, it_i, "Error!")
it_i += 1
worksheet.write(it_j, it_i, "Error!")
it_i += 1
worksheet.write(it_j, it_i, "Error!")
it_i += 1
continue
par_time = result_tables[table_name][task_name][type_of_task]
seq_time = result_tables[table_name][task_name]["seq"]
speed_up = seq_time / par_time
Expand Down
Loading