Home | History | Annotate | Download | only in model

Lines Matching refs:num_runs

111     def _merge_json(cls, aggregated_json, incremental_json, num_runs):
117 num_runs: number of total runs to include.
126 if not cls._merge_non_test_data(aggregated_json, incremental_json, num_runs):
133 cls._merge_tests(aggregated_tests, incremental_tests, num_runs)
138 def _merge_non_test_data(cls, aggregated_json, incremental_json, num_runs):
144 num_runs: number of total runs to include.
180 cls._merge_one_build(aggregated_json, incremental_json, index, num_runs)
186 incremental_index, num_runs):
193 num_runs: number of total runs to include.
206 aggregated_json[key][:num_runs]
211 def _merge_tests(cls, aggregated_json, incremental_json, num_runs):
217 num_runs: number of total runs to include.
234 results, aggregated_test[JSON_RESULTS_RESULTS], num_runs)
236 times, aggregated_test[JSON_RESULTS_TIMES], num_runs)
237 cls._normalize_results_json(test_name, aggregated_json, num_runs)
242 def _insert_item_run_length_encoded(cls, incremental_item, aggregated_item, num_runs):
249 num_runs: number of total runs to include.
255 aggregated_item[0][0] + item[0], num_runs)
260 def _normalize_results_json(cls, test_name, aggregated_json, num_runs):
262 truncate all results to num_runs.
268 num_runs: number of total runs to include.
274 aggregated_test[JSON_RESULTS_RESULTS], num_runs)
277 aggregated_test[JSON_RESULTS_TIMES], num_runs)
294 def _remove_items_over_max_number_of_builds(cls, encoded_list, num_runs):
301 num_runs: number of total runs to include.
308 if num_builds >= num_runs:
352 def merge(cls, builder, aggregated, incremental, num_runs, sort_keys=False):
390 if not cls._merge_json(aggregated_json[builder], incremental_json[builder], num_runs):
422 def update_file(cls, master, builder, test_type, incremental, filename, num_runs):
426 new_results = cls.merge(builder, file.data, incremental, num_runs)