freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2023-Ahmet 7c7322fb5: green coloring fixed


From: Werner Lemberg
Subject: [freetype2] GSoC-2023-Ahmet 7c7322fb5: green coloring fixed
Date: Thu, 29 Jun 2023 07:12:53 -0400 (EDT)

branch: GSoC-2023-Ahmet
commit 7c7322fb5eb5e566b39b8f4b373fbe4386dfe90a
Author: goksu <25721443+goeksu@users.noreply.github.com>
Commit: goksu <25721443+goeksu@users.noreply.github.com>

    green coloring fixed
---
 src/tools/ftbench/src/tohtml.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tools/ftbench/src/tohtml.py b/src/tools/ftbench/src/tohtml.py
index 49cbf4012..eee707947 100644
--- a/src/tools/ftbench/src/tohtml.py
+++ b/src/tools/ftbench/src/tohtml.py
@@ -57,9 +57,9 @@ with open(benchmark_file, 'w') as f:
 
                     # Write the test result to the HTML file
                     if baseline_value > benchmark_value:
-                        f.write(f'<tr><td>{baseline_match.group(1)}</td><td 
style="background-color: 
green;">{baseline_match.group(3)}</td><td>{benchmark_match.group(3)}</td></tr>\n')
+                        
f.write(f'<tr><td>{baseline_match.group(1)}</td><td>{baseline_match.group(3)} 
&#181;s/op</td><td style="background-color: green;">{benchmark_match.group(3)} 
&#181;s/op</td></tr>\n')
                     else:
-                        
f.write(f'<tr><td>{baseline_match.group(1)}</td><td>{baseline_match.group(3)}</td><td
 style="background-color: green;">{benchmark_match.group(3)}</td></tr>\n')
+                        f.write(f'<tr><td>{baseline_match.group(1)}</td><td 
style="background-color: green;">{baseline_match.group(3)} 
&#181;s/op</td><td>{benchmark_match.group(3)} &#181;s/op</td></tr>\n')
 
         f.write('</table>\n')
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]