aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-08-03 09:21:09 -0700
committerDoug Evans <dje@google.com>2015-08-03 09:21:09 -0700
commit4e1bdb00c63a839037f31f005349c87702d50cfe (patch)
treecd6d82cd74b9422b4423679ba495aa307eb31caf
parent3d3389010c00504602656ba6f16c6b91ade75243 (diff)
downloadgdb-4e1bdb00c63a839037f31f005349c87702d50cfe.zip
gdb-4e1bdb00c63a839037f31f005349c87702d50cfe.tar.gz
gdb-4e1bdb00c63a839037f31f005349c87702d50cfe.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.perf/single-step.exp2
2 files changed, 6 insertions, 1 deletions
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 {