Home
last modified time | relevance | path

Searched refs:setup_method_args (Results 1 – 1 of 1) sorted by relevance

/third_party/protobuf/benchmarks/python/
Dpy_benchmark.py60 benchmark_util.run_benchmark(setup_method_args='"%s"' % (filename))
63 benchmark_util.run_benchmark(setup_method_args='"%s"' % (filename))
120 def full_setup_code(self, setup_method_args=''): argument
124 setup_code += "%s(%s)\n" % (self.setup_method, setup_method_args)
127 def dry_run(self, test_method_args='', setup_method_args=''): argument
129 setup=self.full_setup_code(setup_method_args),
132 def run_benchmark(self, test_method_args='', setup_method_args=''): argument
134 t = self.dry_run(test_method_args, setup_method_args);
139 setup=self.full_setup_code(setup_method_args),