def execute_test(self): for run in self.run_names: self.this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) iteration = 5 while iteration > 0: self.measure.measure(self.func, run) iteration -= 1
def execute_test(self): for run in self.run_names: this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) iteration = 5 while iteration > 0: func = lambda: self._doit(this_run_binfile) self.measure.measure(func, run) iteration -= 1
def execute_test(self): for run in self.run_names: this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) utils.select_file(this_run_binfile) iteration = 5 while iteration > 0: func = lambda: utils.runto_main() self.measure.measure(func, run) iteration -= 1
def execute_test(self): for run in self.run_names: this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) utils.select_file(this_run_binfile) utils.runto_main() iteration = 5 while iteration > 0: utils.safe_execute("mt flush-symbol-cache") func = lambda: utils.safe_execute("print gm_std::cerr") self.measure.measure(func, run) iteration -= 1
def execute_test(self): for run in self.run_names: this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) utils.select_file(this_run_binfile) utils.runto_main() iteration = 5 while iteration > 0: utils.safe_execute("mt flush symbol-cache") func = lambda: utils.safe_execute("print gm_std::cerr") self.measure.measure(func, run) iteration -= 1
def execute_test(self): for run in self.run_names: this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) utils.select_file(this_run_binfile) utils.runto_main() utils.safe_execute("mt expand-symtabs") iteration = 5 while iteration > 0: utils.safe_execute("mt flush-symbol-cache") func = lambda: utils.safe_execute("p symbol_not_found") self.measure.measure(func, run) iteration -= 1
def execute_test(self): for run in self.run_names: this_run_binfile = "%s-%s" % (self.binfile, utils.convert_spaces(run)) utils.select_file(this_run_binfile) utils.runto_main() utils.safe_execute("mt expand-symtabs") iteration = 5 while iteration > 0: utils.safe_execute("mt flush-symbol-cache") func1 = lambda: utils.safe_execute("ptype hello") func = lambda: utils.run_n_times(2, func1) self.measure.measure(func, run) iteration -= 1