Skip to content
Closed
Changes from 2 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
3 changes: 2 additions & 1 deletion codeflash/optimization/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def run(self) -> None:
function_benchmark_timings: dict[str, dict[BenchmarkKey, int]] = {}
total_benchmark_timings: dict[BenchmarkKey, int] = {}
if self.args.benchmark and num_optimizable_functions > 0:
with progress_bar(f"Running benchmarks in {self.args.benchmarks_root}", transient=True):
with progress_bar(f"Running benchmarks in {self.args.benchmarks_root}",transient=True):
logger.info(f"Running benchmarks in {self.args.benchmarks_root}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a case where the above message prints in interactive console mode but doesn't in non-interactice consoles?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am closing this issue as this can be solved in Pycharm by selecting 'Emulate terminal in output console' in the run configuration

# Insert decorator
file_path_to_source_code = defaultdict(str)
for file in file_to_funcs_to_optimize:
Expand Down
Loading