From patchwork Tue Dec 11 22:46:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: leonardo.sandoval.gonzalez@linux.intel.com X-Patchwork-Id: 30636 Received: (qmail 45871 invoked by alias); 11 Dec 2018 22:47:07 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 45749 invoked by uid 89); 11 Dec 2018 22:47:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=processed, HContent-Transfer-Encoding:8bit X-HELO: mga11.intel.com From: leonardo.sandoval.gonzalez@linux.intel.com To: libc-alpha@sourceware.org Cc: Leonardo Sandoval Subject: [PATCH v2 1/3] benchtests: keep comparing even if function timings do not match Date: Tue, 11 Dec 2018 16:46:57 -0600 Message-Id: <20181211224659.29876-2-leonardo.sandoval.gonzalez@linux.intel.com> In-Reply-To: <20181211224659.29876-1-leonardo.sandoval.gonzalez@linux.intel.com> References: <20181211224659.29876-1-leonardo.sandoval.gonzalez@linux.intel.com> MIME-Version: 1.0 From: Leonardo Sandoval 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. --- benchtests/scripts/compare_bench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchtests/scripts/compare_bench.py b/benchtests/scripts/compare_bench.py index f4b7742f90..9cbbda6be6 100755 --- a/benchtests/scripts/compare_bench.py +++ b/benchtests/scripts/compare_bench.py @@ -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.