equal
deleted
inserted
replaced
8 |
8 |
9 @benchmark_infos ||= {} |
9 @benchmark_infos ||= {} |
10 end |
10 end |
11 |
11 |
12 def filtered_benchmark_infos |
12 def filtered_benchmark_infos |
13 BenchmarkInfo.where(id: filtered_benchmark_info_ids) |
13 BenchmarkInfo |
|
14 .where(id: filtered_benchmark_info_ids) |
|
15 .includes(benchmark_results: [ :benchmark_batch, |
|
16 :benchmark_durations, |
|
17 :benchmark_parameters ]) |
14 end |
18 end |
15 |
19 |
16 def filtered_benchmark_info_ids |
20 def filtered_benchmark_info_ids |
17 benchmark_infos.compact |
21 benchmark_infos.select(&:present?).compact |
18 end |
22 end |
19 |
23 |
20 end |
24 end |