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

@ -1,3 +1,8 @@
2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
* benchtests/scripts/compare_bench.py (compare_runs): Continue
instead of return.
2018-12-12 Florian Weimer <fweimer@redhat.com>
* sysdeps/posix/timespec_get.c: Add missing “any later version”

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.