Skip to content

Dot far-behind results on the homepage table, and show Vortex vs Lance on phones - #234

Merged
lwwmanning merged 4 commits into
mainfrom
wm/homepage-benchmarks-visual-tweaks-7a5f05
Nov 21, 2026
Merged

lwwmanning merged 4 commits into
mainfrom
wm/homepage-benchmarks-visual-tweaks-7a5f05

Conversation

@lwwmanning

Copy link
Copy Markdown
Contributor

This changes the results table on the vortex.dev homepage, on desktop and on phones. Bench itself is unchanged.

Before, the table marked only the best figure in each row, so a result 97 times slower looked the same as a close second. After, a figure 10 times or more behind its row's best is orange with a dotted underline. A line under the table says what the dots mean. A fixed rule selects the cells, not a hand-kept list. Today it marks Lance on ClickBench and TPC-H, and Parquet on random access.

Before, a phone showed Vortex's figure beside its verdict against Parquet, so the two columns said the same thing. After, a phone shows each benchmark with two verdicts: Vortex against Parquet, and Vortex against Lance. On the narrowest phones (320px) the table uses 12px type so the three columns fit.

The rules and styles come from the Vortex design system, and this PR copies them into the site.

Before After
Before After
Before, phone After, phone

Light theme: After, light

🤖 Generated with Claude Code

The results table now calls out a figure 10 times or more behind its
row's best: the figure and a dotted underline are in warn-ink, and the
foot says "Dotted: 10× or more behind the best". A rule picks the cells,
not a hand-kept list. Today it flags Lance on ClickBench and TPC-H, and
Parquet on random access. On phones the other systems' columns hide, so
the key hides too unless Vortex's own column has a dotted figure.

The rule is in the design system (v141): results.js gives each cell
`behind` and `far`, and the stylesheet adds `.is-far`. This copies both.

Signed-off-by: Will Manning <will@willmanning.io>
…s-visual-tweaks-7a5f05

Signed-off-by: Will Manning <will@willmanning.io>
On phones the homepage benchmarks table showed Vortex's figure beside
its verdict against Parquet, which said the same thing twice. Below
760px it now shows the benchmark, how Vortex does against Parquet, and
how Vortex does against Lance. The verdict heads read "Vortex vs" and
wrap, the key hides (no marked figure shows), and below 340px the table
is set in 12px so the three columns fit at 320px. Desktop is unchanged.

From the Vortex design system v145: renderResults' `rival` option.

Signed-off-by: Will Manning <will@willmanning.io>
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vortex.dev Ready Ready Preview Nov 21, 2026 11:39pm UTC

Request Review

@lwwmanning
lwwmanning marked this pull request as ready for review November 21, 2026 23:34
@lwwmanning
lwwmanning enabled auto-merge (squash) November 21, 2026 23:34
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T23:42:20.043381Z 2e4ec28 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

🔦 Lighthouse audit

URL Profile Perf A11y Best practices SEO
/ desktop 🟢 100 🟢 100 🟢 100 🟢 100
/ mobile 🟢 95 🟢 100 🟢 96 🟢 100
/bench desktop 🟢 100 🟢 100 🟢 100 🟢 100
/bench mobile 🟢 97 🟢 100 🟢 100 🟢 100
/bench/chart/ct.eyJrIjoiQ29tcHJlc3Npb25UaW1lIiwiZGF0YXNldCI6ImFyYWRlIiwiZGF0YXNldF92YXJpYW50IjpudWxsfQ desktop 🟢 100 🟢 100 🟢 100 🟢 100
/bench/chart/ct.eyJrIjoiQ29tcHJlc3Npb25UaW1lIiwiZGF0YXNldCI6ImFyYWRlIiwiZGF0YXNldF92YXJpYW50IjpudWxsfQ mobile 🟢 94 🟢 100 🟢 96 🟢 100
/bench/methodology desktop 🟢 100 🟢 100 🟢 100 🟢 100
/bench/methodology mobile 🟢 97 🟢 100 🟢 100 🟢 100
/blog desktop 🟢 100 🟢 100 🟢 100 🟢 100
/blog mobile 🟢 99 🟢 100 🟢 100 🟢 100
/blog/btrblocks-compressor desktop 🟢 99 🟢 100 🟢 100 🟢 100
/blog/btrblocks-compressor mobile 🟢 97 🟢 100 🟢 100 🟢 100
/faq desktop 🟢 100 🟢 100 🟢 100 🟢 100
/faq mobile 🟢 96 🟢 100 🟢 100 🟢 100

Run 44962816202 · 2026-11-21 23:40 UTC

The phone layout now shows Benchmark, Vortex vs Parquet, and Vortex vs
Lance. The test also checks that the table fits its frame without a
sideways scroll at 320px and 375px.

Signed-off-by: Will Manning <will@willmanning.io>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2e4ec28d71

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/styles/vortex.css
}
/* The narrowest phones, 320px: the three columns fit inside the frame with 12px of padding, 12px between them, and headings that wrap. */
/* A phone shows each benchmark and its verdicts alone: against Parquet and, with a rival, against it. Vortex's figure would repeat the verdict. With no figure left to mark, the key goes too. The verdict heads wrap ("Vortex vs / Parquet"). */
.vx-results-table :is(th, td):not(:first-child, .is-verdict) { display: none; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the Vortex column when no rival is requested

At phone widths, this selector now hides every numeric column unconditionally. When the documented renderResults(panels) form is used without the optional rival, no .is-rival column is rendered, so the mobile table regresses from Benchmark/Vortex/vs Parquet to only Benchmark/vs Parquet. Scope this hiding behavior to tables that actually include a rival column, or retain .is-ours when rival is absent.

Useful? React with 👍 / 👎.

Comment thread src/styles/vortex.css
.vx-results-table :is(th, td):not(:first-child, .is-verdict) { display: none; }
.vx-results-table .is-rival { display: table-cell; }
.vx-results-table .is-verdict { padding-left: var(--space-16); }
.vx-results-table thead .is-verdict { white-space: normal; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Allow mobile verdict values to wrap

Only the verdict headers are allowed to wrap, while body cells retain the table-wide white-space: nowrap. If bench reports Vortex but omits Parquet or Lance—a supported state because panelFor retains individual unmeasured systems—the two new columns contain values such as Parquet not measured and Lance not measured; together they exceed a 320px frame and make .vx-results-wrap scroll horizontally, contrary to the new three-column phone layout. Let mobile verdict body cells wrap or otherwise constrain these missing-result labels.

Useful? React with 👍 / 👎.

className={classes(
c.ours && "is-ours",
c.best && "is-best",
c.far && "is-far",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Expose the far-behind marker to assistive technology

The new is-far class communicates the state only through color and a dotted underline. The computed text such as 14× behind the best is placed solely in the non-focusable table cell's title, which screen readers do not reliably announce, so a screen-reader user hears the ordinary value and a footnote about dots but cannot identify which cells it describes. Include the far-behind description in accessible cell content or an accessible name while keeping it visually hidden.

Useful? React with 👍 / 👎.

@lwwmanning
lwwmanning merged commit 491f9dd into main Nov 21, 2026
31 checks passed
@lwwmanning
lwwmanning deleted the wm/homepage-benchmarks-visual-tweaks-7a5f05 branch November 21, 2026 23:42

This branch was successfully deployed

1 active deployment
Preview — 2e4ec28d Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant