Ahmet Göksu pushed to branch GSoC-2023-Ahmet at FreeType / FreeType
Commits:
-
7c7322fb
by goksu at 2023-06-29T14:07:02+03:00
1 changed file:
Changes:
... | ... | @@ -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)} µs/op</td><td style="background-color: green;">{benchmark_match.group(3)} µ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)} µs/op</td><td>{benchmark_match.group(3)} µs/op</td></tr>\n')
|
|
63 | 63 | |
64 | 64 | f.write('</table>\n')
|
65 | 65 |