From patchwork Sun Jul 26 15:26:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 7862 Received: (qmail 71222 invoked by alias); 26 Jul 2015 15:27:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 69829 invoked by uid 89); 26 Jul 2015 15:27:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f53.google.com Received: from mail-pa0-f53.google.com (HELO mail-pa0-f53.google.com) (209.85.220.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 26 Jul 2015 15:27:45 +0000 Received: by pachj5 with SMTP id hj5so37913747pac.3 for ; Sun, 26 Jul 2015 08:27:43 -0700 (PDT) X-Received: by 10.66.116.81 with SMTP id ju17mr57168816pab.35.1437924463196; Sun, 26 Jul 2015 08:27:43 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by smtp.gmail.com with ESMTPSA id cl15sm24737538pdb.27.2015.07.26.08.27.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Jul 2015 08:27:42 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org, yao.qi@linaro.org Subject: [PATCH] single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000. Date: Sun, 26 Jul 2015 08:26:52 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. single-step.exp takes a while to run, and while that's not necessarily bad, here it's because the default value of SINGLE_STEP_COUNT is 10,000. We're not going to gain any more insight into perf issues single-stepping (stepi) 10,000 times over 1,000 times, so this patch changes the default to 1,000. IWBN to rename "single-step" to something like "single-stepi" or some such as the name is misleading, but that's left for another patch. 2015-07-26 Doug Evans * single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000. diff --git a/gdb/testsuite/gdb.perf/single-step.exp b/gdb/testsuite/gdb.perf/single-step.exp index d5aa7e2..1b89145 100644 --- a/gdb/testsuite/gdb.perf/single-step.exp +++ b/gdb/testsuite/gdb.perf/single-step.exp @@ -29,7 +29,7 @@ set expfile $testfile.exp # make check-perf RUNTESTFLAGS='single-step.exp SINGLE_STEP_COUNT=300' if ![info exists SINGLE_STEP_COUNT] { - set SINGLE_STEP_COUNT 10000 + set SINGLE_STEP_COUNT 1000 } PerfTest::assemble {