diff --git a/web/layouts/index.html b/web/layouts/index.html index 100d7b2..ede1ab6 100644 --- a/web/layouts/index.html +++ b/web/layouts/index.html @@ -15,9 +15,6 @@
Normalized (percentage of the average time). Lower is better on all graphs. -

- ⚠️ There are known issues with graph sorting in Chromium-based browsers. Please use Firefox for now. ⚠️ -

diff --git a/web/static/graphs.js b/web/static/graphs.js index 633bda8..3c71009 100644 --- a/web/static/graphs.js +++ b/web/static/graphs.js @@ -17,7 +17,7 @@ function displayGraph(targetDivID, graphID, type = "full", filter = "") { // Include benchmark data JSON to generate graphs. const allBenchmarks = Database.benchmarks.sort( - (a, b) => `${a.date}.${a.commit}` > `${b.date}.${b.commit}`, + (a, b) => `${a.date}.${a.commit}` > `${b.date}.${b.commit}` ? 1 : -1, ); const graph = Database.graphs.find((g) => g.id == graphID); if (!graph) {