From 0475ec55334b57981fdd9dd87cef2196bcb20e4c Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 17 Oct 2025 17:01:20 -1000 Subject: [PATCH] preen --- script/ci_memory_impact_comment.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/ci_memory_impact_comment.py b/script/ci_memory_impact_comment.py index 60676949e8..0be783ab3d 100755 --- a/script/ci_memory_impact_comment.py +++ b/script/ci_memory_impact_comment.py @@ -73,10 +73,12 @@ def format_change(before: int, after: int) -> str: # Format delta with sign and always show in bytes for precision if delta > 0: delta_str = f"+{delta:,} bytes" - emoji = "📈" + # Use 🚨 for significant increases (>1%), 🔸 for smaller ones + emoji = "🚨" if abs(percentage) > 1.0 else "🔸" elif delta < 0: delta_str = f"{delta:,} bytes" - emoji = "📉" + # Use 🎉 for significant reductions (>1%), ✅ for smaller ones + emoji = "🎉" if abs(percentage) > 1.0 else "✅" else: delta_str = "+0 bytes" emoji = "➡️"