Skip to content

Commit d8849a5

Browse files
committed
logger.debug
1 parent 30c8988 commit d8849a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,6 @@ def determine_best_candidate(
587587
)
588588
tree.add(f"Speedup percentage: {perf_gain * 100:.1f}%")
589589
tree.add(f"Speedup ratio: {perf_gain + 1:.3f}X")
590-
logger.info(f"orig_async_throughput: {original_code_baseline.async_throughput}")
591-
logger.info(f"candidate_result.async_throughput: {candidate_result.async_throughput}")
592590
if (
593591
original_code_baseline.async_throughput is not None
594592
and candidate_result.async_throughput is not None
@@ -1719,7 +1717,7 @@ def run_optimized_candidate(
17191717
candidate_async_throughput = calculate_function_throughput_from_test_results(
17201718
candidate_benchmarking_results, self.function_to_optimize.function_name
17211719
)
1722-
logger.info(f"Candidate async function throughput: {candidate_async_throughput} calls/second")
1720+
logger.debug(f"Candidate async function throughput: {candidate_async_throughput} calls/second")
17231721

17241722
if self.args.benchmark:
17251723
candidate_replay_benchmarking_results = candidate_benchmarking_results.group_by_benchmarks(

0 commit comments

Comments
 (0)