chore: Update table style to match new example page - #3004
cieplypolar wants to merge 8 commits into
Conversation
|
pkg.pr.new No packages changed since release |
Resolution Time Benchmark---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.61, 1.19, 2.36, 3.99, 4.69, 6.93, 12.99, 14.26]
line [0.62, 1.23, 2.42, 3.62, 4.64, 7.81, 13.74, 14.58]
line [0.57, 1.10, 2.49, 3.39, 3.96, 7.33, 13.40, 14.80]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.18, 0.31, 0.44, 0.51, 0.72, 0.74, 0.89, 0.99]
line [0.19, 0.36, 0.45, 0.52, 0.70, 0.72, 0.85, 1.00]
line [0.18, 0.38, 0.47, 0.56, 0.67, 0.69, 0.81, 0.87]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.78, 1.58, 2.30, 4.32, 7.37, 14.75, 32.04, 69.75]
line [0.56, 1.32, 2.27, 4.44, 6.71, 14.65, 32.79, 66.13]
line [0.54, 1.48, 2.07, 4.30, 6.92, 15.04, 32.14, 65.87]
|
Bundle size comparison (
|
| 🟢 Decreased | ➖ Unchanged | 🔴 Increased | ❔ Unknown |
|---|---|---|---|
| 0 | 325 | 0 | 0 |
No notable changes.
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.
There was a problem hiding this comment.
ℹ️ Minor suggestions only — the reskin looks consistent; one dark-mode note inline.
Reviewed changes — single commit restyling the prng-cpu-gpu example table to match the reskinned examples page.
- Table styling — the table drops the rigid
table-layout: fixed/40rem/10remsizing fortable-layout: auto; width: 100%, adds a#faf9f6/#000background-plus-text pair and a0.8emfont, and inserts a<br />into the "Arbitrary sample (max abs diff)" header to match the two-line header in the adjacent column.
The <br /> addition and the auto-layout switch are consistent with the other column and with the injected-HTML sizing model. No tests exercise this table (there is no per-example Playwright test for prng-cpu-gpu), so no test impact.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
ℹ️ No critical issues — the scroll-container rework checks out; one note on the border model inline.
Reviewed changes — since the prior review at 242d1edc, two commits landed: e9f8078 normalized the table font to rem units (matching sibling examples), and 5734b70 reworked the table into its own scroll container.
- Scrollable table —
display: block; max-width/max-height: 100%; overflow: autoreplaces the plainwidth: 100%, so a table taller than theaspect-square overflow-hiddenpreview box now scrolls internally instead of overflowing/clipping. Verified in headless Chromium: under a bounded container the table caps at 100% and scrolls; unconstrained it renders at natural height. - Typography + alignment — font dropped from
0.8remto0.7rem(on par withmatrix-next), andth/tdtext is now centered.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
|
Following up on the review above — the inline note referenced there couldn't be anchored to the diff in the review itself, so here's the content:
|
5734b70 to
2daee5d
Compare
…mansion/TypeGPU into impr/cpugpu-example-new-layout

No description provided.