Ahmet Göksu pushed to branch GSoC-2023-Ahmet at FreeType / FreeType
Commits:
-
4bcd9711
by goksu at 2023-08-07T15:11:28+03:00
2 changed files:
Changes:
... | ... | @@ -312,7 +312,7 @@ |
312 | 312 | }
|
313 | 313 | |
314 | 314 | if ( done )
|
315 | - printf( "%10.1f ms %10d done\n",
|
|
315 | + printf( "%10.1f microseconds %10d done\n",
|
|
316 | 316 | TIMER_GET( &timer ), done );
|
317 | 317 | else
|
318 | 318 | printf( "no error-free calls\n" );
|
... | ... | @@ -132,10 +132,10 @@ def generate_results_table(html_file, baseline_results, benchmark_results, filen |
132 | 132 | for baseline_line, benchmark_line in zip(baseline_results, benchmark_results):
|
133 | 133 | if baseline_line.startswith(" "):
|
134 | 134 | baseline_match = re.match(
|
135 | - r"\s+(.*?)\s+(\d+\.\d+)\s+ms\s+(\d+)\s", baseline_line
|
|
135 | + r"\s+(.*?)\s+(\d+\.\d+)\s+microseconds\s+(\d+)\s", baseline_line
|
|
136 | 136 | )
|
137 | 137 | benchmark_match = re.match(
|
138 | - r"\s+(.*?)\s+(\d+\.\d+)\s+ms\s+(\d+)\s", benchmark_line
|
|
138 | + r"\s+(.*?)\s+(\d+\.\d+)\s+microseconds\s+(\d+)\s", benchmark_line
|
|
139 | 139 | )
|
140 | 140 | |
141 | 141 | if baseline_match and benchmark_match:
|