Skip to content

Commit

Permalink
fixed the printout in case of bad performance
Browse files Browse the repository at this point in the history
Signed-off-by: dafnapension <[email protected]>
  • Loading branch information
dafnapension committed Feb 6, 2025
1 parent d21a884 commit 1734509
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions performance/compare_benchmark_performance_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"\n**Warning**: Performance degradation in Dataset Generation and/or Evaluation exceeds 5%!"
)
print(
"Explore branch performance via 'python performance/bluebench_profiler.py --output_file=<path to json file>',"
"followed by 'snakeviz <the performance.prof file specified in the output json file>'."
"Explore branch performance via 'python performance/bluebench_profiler.py --output_file=[path to json file]',"
"followed by 'snakeviz [the performance.prof file specified in the output json file]."
)
sys.exit(1)

Expand Down
4 changes: 2 additions & 2 deletions utils/.secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"filename": "src/unitxt/loaders.py",
"hashed_secret": "840268f77a57d5553add023cfa8a4d1535f49742",
"is_verified": false,
"line_number": 538,
"line_number": 539,
"is_secret": false
}
],
Expand Down Expand Up @@ -184,5 +184,5 @@
}
]
},
"generated_at": "2025-02-06T16:07:45Z"
"generated_at": "2025-02-06T21:53:56Z"
}

0 comments on commit 1734509

Please sign in to comment.