diff --git a/index.html b/index.html
index b48a43735..605752722 100644
--- a/index.html
+++ b/index.html
@@ -87,7 +87,16 @@
Non-standard Parameters
Speedometer ran with non-standard parameters.
The results are likely not comparable to default runs.
-
+
+
+
+ Param |
+ Value |
+ Default |
+
+
+
+
Aggregate Metric
diff --git a/resources/main.mjs b/resources/main.mjs
index babdfe683..794fddc92 100644
--- a/resources/main.mjs
+++ b/resources/main.mjs
@@ -306,18 +306,15 @@ class MainBenchmarkClient {
}
if (paramsDiff.length === 0)
return;
- let body = "";
- for (const { key, value, defaultValue } of paramsDiff)
- body += `${key} | ${value} | ${defaultValue} |
`;
+ const body = document.createElement("tbody");
+ for (const { key, value, defaultValue } of paramsDiff) {
+ const row = body.insertRow(-1);
+ row.insertCell().textContent = key;
+ row.insertCell().textContent = value;
+ row.insertCell().textContent = defaultValue;
+ }
const table = document.getElementById("non-standard-params-table");
- table.innerHTML = `
-
- Param |
- Value |
- Default |
-
-
- ${body}`;
+ table.replaceChild(body, table.tBodies[0]);
document.querySelector(".non-standard-params").style.display = "block";
}