From 1b3f6bdf4352cba1fed85ad252c20b6b4cadb683 Mon Sep 17 00:00:00 2001 From: Keith Miller Date: Tue, 13 Jan 2026 17:51:51 -0500 Subject: [PATCH] Final results should be alphabetically sorted Right now the results end in a reverse alphabetically sorted order. This looks weird. Ideally we would just change the order that we run tests but I worry that will change the results in a non-trivial way (although I didn't try directly). In future JetStream versions we should revert this and sort the tests in the other direction. --- JetStreamDriver.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JetStreamDriver.js b/JetStreamDriver.js index 1d4c401d..3dca1aa9 100644 --- a/JetStreamDriver.js +++ b/JetStreamDriver.js @@ -1223,7 +1223,8 @@ class Benchmark { updateUIBeforeRunInBrowser() { const resultsBenchmarkUI = document.getElementById(`benchmark-${this.name}`); resultsBenchmarkUI.classList.add("benchmark-running"); - resultsBenchmarkUI.scrollIntoView({ block: "nearest" }); + const containerUI = resultsBenchmarkUI.parentNode; + containerUI.insertBefore(resultsBenchmarkUI, containerUI.firstChild); for (const id of this.allScoreIdentifiers()) document.getElementById(id).innerHTML = "...";