Home
last modified time | relevance | path

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

/third_party/protobuf/benchmarks/python/
Dpy_benchmark.py50 benchmark_util = Benchmark(full_iteration=len(benchmark_dataset.payload),
110 setup_method=None, total_bytes=None, full_iteration = 1): argument
111 self.full_iteration = full_iteration
130 number=self.full_iteration);
133 reps = self.full_iteration;
136 reps = int(math.ceil(3 / t)) * self.full_iteration
137 if reps != self.full_iteration:
141 return self.total_bytes * 1.0 / 2 ** 20 / (1.0 * t / reps * self.full_iteration)