freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][GSoC-2023-Ahmet] green coloring fixed


From: @goksu
Subject: [Git][freetype/freetype][GSoC-2023-Ahmet] green coloring fixed
Date: Thu, 29 Jun 2023 11:07:44 +0000

Ahmet Göksu pushed to branch GSoC-2023-Ahmet at FreeType / FreeType

Commits:

  • 7c7322fb
    by goksu at 2023-06-29T14:07:02+03:00
    green coloring fixed
    

1 changed file:

Changes:

  • src/tools/ftbench/src/tohtml.py
    ... ... @@ -57,9 +57,9 @@ with open(benchmark_file, 'w') as f:
    57 57
     
    
    58 58
                         # Write the test result to the HTML file
    
    59 59
                         if baseline_value > benchmark_value:
    
    60
    -                        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')
    
    60
    +                        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')
    
    61 61
                         else:
    
    62
    -                        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')
    
    62
    +                        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')
    
    63 63
     
    
    64 64
             f.write('</table>\n')
    
    65 65
     
    


  • reply via email to

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