1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +03:00

benchtests: keep comparing even if function timings do not match

Allows other functions to be processed, making the script a bit more fault
tolerant thus useful.

	* benchtests/scripts/compare_bench.py (compare_runs): Continue instead of return.
This commit is contained in:
Leonardo Sandoval
2018-12-10 14:52:23 -06:00
parent 46703efa02
commit 587426d499
2 changed files with 6 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ def compare_runs(pts1, pts2, threshold):
# timing info for the function variant.
if 'timings' not in pts1['functions'][func][var].keys() or \
'timings' not in pts2['functions'][func][var].keys():
return
continue
# If two lists do not have the same length then it is likely that
# the performance characteristics of the function have changed.