gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.
authorDoug Evans <dje@google.com>
Mon, 3 Aug 2015 16:21:09 +0000 (09:21 -0700)
committerDoug Evans <dje@google.com>
Mon, 3 Aug 2015 16:21:09 +0000 (09:21 -0700)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.perf/single-step.exp

index eab972489e012881449b39eaa421069d8c183d82..0ab5535fe93246a9e0fcdc43ba40fafc4c42cf8d 100644 (file)
@@ -1,3 +1,8 @@
+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.
index d5aa7e2ea598ed0fb762d17ddd8d0d265875aea3..1b89145583d2160c57b7d30ccdc4e05c089aa0d4 100644 (file)
@@ -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 {