Skip to content

Commit f0b96d6

Browse files
committed
add a informative message
1 parent c848acd commit f0b96d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

codeflash/discovery/functions_to_optimize.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ def get_functions_to_optimize(
203203
functions, test_cfg.tests_root, ignore_paths, project_root, module_root, previous_checkpoint_functions
204204
)
205205
logger.info(f"Found {functions_count} function{'s' if functions_count > 1 else ''} to optimize")
206+
if optimize_all:
207+
logger.info(
208+
f"It might take about {functions_count*3} minutes to fully optimize this project. Codeflash "
209+
f"will keep opening pull requests as it finds optimizations."
210+
)
206211
return filtered_modified_functions, functions_count
207212

208213

0 commit comments

Comments
 (0)