diff --git a/erp5/util/benchmark/report.py b/erp5/util/benchmark/report.py index 6015962fe7374dd16eec042bed301d7b745876fb..9fc12c0e94d05e5fdd61b21161d74c463b3082ce 100755 --- a/erp5/util/benchmark/report.py +++ b/erp5/util/benchmark/report.py @@ -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 diff --git a/erp5/util/benchmark/result.py b/erp5/util/benchmark/result.py index 2edbc49ae89cb2ceb48b008e3cca228a8c35b9ab..5b23a1462ee9214787f47546de4739b9d58d42f6 100644 --- a/erp5/util/benchmark/result.py +++ b/erp5/util/benchmark/result.py @@ -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(