This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4e1bdb00c63a839037f31f005349c87702d50cfe

commit 4e1bdb00c63a839037f31f005349c87702d50cfe
Author: Doug Evans <dje@google.com>
Date:   Mon Aug 3 09:21:09 2015 -0700

    gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.
    
    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.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
    	10000.

Diff:
---
 gdb/testsuite/ChangeLog                | 5 +++++
 gdb/testsuite/gdb.perf/single-step.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index eab9724..0ab5535 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
 2015-08-03  Doug Evans  <dje@google.com>
 
+	* gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
+	10000.
+
+2015-08-03  Doug Evans  <dje@google.com>
+
 	* Makefile.in (workers/%.worker, build-perf): New rule.
 	(GDB_PERFTEST_MODE): New variable.
 	(check-perf): Use it.
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 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]