From 8a88c58cf1d76e0b3efa54a0d692040855fca3e8 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 6 Sep 2026 15:05:43 +0200 Subject: [PATCH 1/2] Add a whitelist of AWS machines on the benchmark page Only the nine standard EC2 instance types are shown in the "Machine" selector; results on any other instance type (m9g, m9gd, x8g, p5, c5) are hidden, so that the set of compared machines stays consistent. Names that are not EC2 instance types (cloud service sizes such as `64GiB` or `Motherduck: jumbo`) are not affected. Co-Authored-By: Claude Opus 5 --- index.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 2546b0f7d1..16ba47fb57 100644 --- a/index.html +++ b/index.html @@ -711,7 +711,26 @@

Detailed Comparison

}); }); -[... new Set(data.map(elem => elem.machine))].sort((a, b) => { +/// The whitelist of AWS machines: results on any other EC2 instance type are hidden, +/// so that the set of compared machines stays consistent. +const aws_machines_whitelist = new Set([ + 't3a.small', + 'c6a.large', + 'c6a.xlarge', + 'c6a.2xlarge', + 'c6a.4xlarge', + 'c8g.4xlarge', + 'c6a.metal', + 'c7a.metal-48xl', + 'c8g.metal-48xl', +]); + +/// Matches EC2 instance type names, e.g. `c6a.4xlarge` or `m9gd.xlarge`, +/// but not the names of cloud service sizes, e.g. `64GiB` or `Motherduck: jumbo`. +const aws_machine_regexp = /^[a-z]+[0-9]+[a-z]*\.[0-9a-z-]+$/; + +[... new Set(data.map(elem => elem.machine))].filter( + elem => aws_machines_whitelist.has(elem) || !aws_machine_regexp.test(elem)).sort((a, b) => { const count_diff = data.filter(elem => elem.machine === b).length - data.filter(elem => elem.machine === a).length; return count_diff == 0 ? a.localeCompare(b, undefined, {numeric: true, sensitivity: 'base'}) : count_diff; }).map(elem => { From e36f612fdae75485e115d909f71a2f7ddc58bfb2 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 6 Sep 2026 15:09:14 +0200 Subject: [PATCH 2/2] Keep p5.4xlarge in the whitelist It is the only notable demo for Sirius. Co-Authored-By: Claude Opus 5 --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 16ba47fb57..e9ef2b8340 100644 --- a/index.html +++ b/index.html @@ -723,6 +723,7 @@

Detailed Comparison

'c6a.metal', 'c7a.metal-48xl', 'c8g.metal-48xl', + 'p5.4xlarge', /// GPU, the only notable demo for Sirius. ]); /// Matches EC2 instance type names, e.g. `c6a.4xlarge` or `m9gd.xlarge`,