Updated Test and Result views/routes to use BenchmarkProfile
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2026-04-15 13:58:44 -04:00
parent 3dbc11d294
commit d526fa30f4
7 changed files with 17 additions and 13 deletions

View File

@@ -28,8 +28,8 @@
<div class="col-12 col-md-5 mb-3 mb-md-0">
<label for="result_benchmark">Add benchmark result:</label>
<select class="form-select" id="result_benchmark" name="result_benchmark">
<% test.benchmarks.each do |b| %>
<option value="<%= b.id %>"><%= b.name %></option>
<% test.benchmark_profiles.each do |b| %>
<option value="<%= b.id %>"><%= b.display_name %></option>
<% end %>
</select>
</div>
@@ -71,8 +71,8 @@
</tr>
</thead>
<tbody>
<% test.benchmarks.each do |benchmark| %>
<tr data-benchmark-id="<%= benchmark.id %>"></tr>
<% test.benchmark_profiles.each do |bp| %>
<tr data-benchmark-id="<%= bp.id %>"></tr>
<% end %>
</tbody>
</table>