Repository navigation
Dot far-behind results on the homepage table, and show Vortex vs Lance on phones - #234
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🔦 Lighthouse audit
Run |
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>
There was a problem hiding this comment.
💡 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".
| } | ||
| /* 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; } |
There was a problem hiding this comment.
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 👍 / 👎.
| .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; } |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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 👍 / 👎.
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.
Light theme:
🤖 Generated with Claude Code