Commit 8e587545 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Add starting time of each iteration

parent 3f52e2c8
...@@ -33,6 +33,7 @@ import os ...@@ -33,6 +33,7 @@ import os
import logging import logging
import signal import signal
import sys import sys
import datetime
from ..testbrowser.browser import Browser from ..testbrowser.browser import Browser
...@@ -137,7 +138,8 @@ class BenchmarkProcess(multiprocessing.Process): ...@@ -137,7 +138,8 @@ class BenchmarkProcess(multiprocessing.Process):
self._browser = self.getBrowser(result_instance.log_file) self._browser = self.getBrowser(result_instance.log_file)
while self._current_repeat != (self._argument_namespace.repeat + 1): while self._current_repeat != (self._argument_namespace.repeat + 1):
self._logger.info("Iteration: %d" % self._current_repeat) self._logger.info("%s: Iteration: %d" % (datetime.datetime.now(),
self._current_repeat))
self.runBenchmarkSuiteList(result) self.runBenchmarkSuiteList(result)
if not self._current_repeat % RESULT_NUMBER_BEFORE_FLUSHING: if not self._current_repeat % RESULT_NUMBER_BEFORE_FLUSHING:
......
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