self.function = 'Driver::MainLoop()'
self.lldb_avg = None
self.gdb_avg = None
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 5
+ self.count = 5
@benchmarks_test
@no_debug_info_test
def setUp(self):
BenchBase.setUp(self)
self.exe = lldbtest_config.lldbExec
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 10
+ self.count = 10
@benchmarks_test
@no_debug_info_test
self.function = 'Driver::MainLoop()'
self.gdb_41_avg = None
self.gdb_42_avg = None
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 5
+ self.count = 5
@benchmarks_test
@no_debug_info_test
BenchBase.setUp(self)
self.source = 'main.cpp'
self.line_to_break = line_number(self.source, '// Set breakpoint here.')
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 25
+ self.count = 25
@benchmarks_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
self.line_to_break = line_number(self.source, '// Set breakpoint here.')
self.lldb_avg = None
self.gdb_avg = None
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 100
+ self.count = 100
@benchmarks_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
BenchBase.setUp(self)
self.exe = lldbtest_config.lldbExec
self.break_spec = '-n main'
-
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 20
+ self.count = 20
@benchmarks_test
@no_debug_info_test
self.stopwatch3 = Stopwatch()
self.exe = lldbtest_config.lldbExec
self.break_spec = '-n main'
-
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 30
+ self.count = 30
@benchmarks_test
@no_debug_info_test
BenchBase.setUp(self)
self.exe = lldbtest_config.lldbExec
self.break_spec = '-n main'
-
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 50
+ self.count = 50
#print("self.exe=%s" % self.exe)
#print("self.break_spec=%s" % self.break_spec)
BenchBase.setUp(self)
self.exe = lldbtest_config.lldbExec
self.function = 'Driver::MainLoop()'
-
- self.count = configuration.bmIterationCount
- if self.count <= 0:
- self.count = 3
+ self.count = 3
self.lldb_avg = None
self.gdb_avg = None
# just that.
cflags_extras = ''
-# The benchmark iteration count, as specified by the '-y' option.
-bmIterationCount = -1
-
# The filters (testclass.testmethod) used to admit tests into our test suite.
filters = []
configuration.verbose = 2
# argparse makes sure we have a number
- if args.y:
- configuration.bmIterationCount = args.y
-
- # argparse makes sure we have a number
if args.sharp:
configuration.count = args.sharp