Skip to content
Merged
Changes from all 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
8 changes: 5 additions & 3 deletions codeflash/optimization/function_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,11 @@ def handle_successful_candidate(

Returns the BestOptimization and optional benchmark tree.
"""
line_profile_test_results = self.line_profiler_step(
code_context=code_context, original_helper_code=original_helper_code, candidate_index=candidate_index
)
with progress_bar("Running line-by-line profiling"):
line_profile_test_results = self.line_profiler_step(
code_context=code_context, original_helper_code=original_helper_code, candidate_index=candidate_index
)

eval_ctx.record_line_profiler_result(candidate.optimization_id, line_profile_test_results["str_out"])

replay_perf_gain = {}
Expand Down
Loading