Commit fbd996d9 authored by Arnaud Fontaine's avatar Arnaud Fontaine

benchmarks: Even if it's unusual, some use cases may take less than 1 seconds to run.

parent 604d5db4
......@@ -168,7 +168,7 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
use_case_suite = row_use_case_mapping_dict.get(idx, None)
if use_case_suite:
current_count = int(row)
current_duration = int(row_iter.next()[1]) / 3600.0
current_duration = float(row_iter.next()[1]) / 3600.0
if not current_count:
continue
......
......@@ -217,7 +217,7 @@ class BenchmarkResult(object):
self._current_suite_dict['expected'])
self._current_suite_dict['all_use_case_result_list'].append(
(self._current_use_case_counter, int(elapsed_time)))
(self._current_use_case_counter, elapsed_time))
if self._current_use_case_counter != 0:
self._current_suite_dict['use_case_stat'].add(
......
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