We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f81f2c + 4b33351 commit 3db30dfCopy full SHA for 3db30df
codeflash/optimization/optimizer.py
@@ -570,7 +570,7 @@ def determine_best_candidate(
570
f"loop{'s' if candidate_result.max_loop_count > 1 else ''})"
571
)
572
tree.add(f"Speedup percentage: {perf_gain * 100:.1f}%")
573
- tree.add(f"Speedup ratio: {perf_gain + 1:.1f}X")
+ tree.add(f"Speedup ratio: {perf_gain:.3f}")
574
575
best_optimization = BestOptimization(
576
candidate=candidate,
@@ -587,7 +587,7 @@ def determine_best_candidate(
587
588
589
590
- tree.add(f"Speedup ratio: {perf_gain + 1:.3f}X")
591
console.print(tree)
592
console.rule()
593
0 commit comments