Commit 6ab5a6b2 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Set results flushing frequency to a more sensible value and fix misleading naming.

parent d37dcb91
......@@ -35,7 +35,7 @@ import socket
from ..testbrowser.browser import Browser
from .result import NothingFlushedException
RESULT_NUMBER_BEFORE_FLUSHING = 100
REPEAT_NUMBER_BEFORE_FLUSHING = 10
class BenchmarkProcess(multiprocessing.Process):
def __init__(self, exit_msg_queue, result_klass, argument_namespace,
......@@ -168,7 +168,7 @@ class BenchmarkProcess(multiprocessing.Process):
self._logger.info("Iteration: %d" % self._current_repeat)
self.runBenchmarkSuiteList(result)
if not self._current_repeat % RESULT_NUMBER_BEFORE_FLUSHING:
if not self._current_repeat % REPEAT_NUMBER_BEFORE_FLUSHING:
try:
result.flush()
except NothingFlushedException:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment