Skip to content

Commit

Permalink
Test benchmarks
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed May 3, 2024
1 parent de8e4e4 commit ee98b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test_workflow/benchmark_test/benchmark_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def convert(self, results: str) -> None:
formatted_data = pd.json_normalize(data["results"]["op_metrics"])
formatted_data.to_csv(os.path.join(os.getcwd(), "test_execution.csv"), index=False)
df = pd.read_csv(os.path.join(os.getcwd(), "test_execution.csv"))
pd.set_option('display.width', int(1 * shutil.get_terminal_size().columns))
logging.info(int(0.9 * shutil.get_terminal_size()))
pd.set_option('display.width', int(0.9 * shutil.get_terminal_size().columns))
pd.set_option('display.max_rows', None)
pd.set_option('display.max_columns', None)
logging.info(f"\n{df}")

0 comments on commit ee98b50

Please sign in to comment.