Skip to content

feat/shaper sort size - #301

Draft
thejustinwalsh wants to merge 2 commits into
feat/publication-range-spikefrom
feat/shaper-sort-size
Draft

thejustinwalsh wants to merge 2 commits into
feat/publication-range-spikefrom
feat/shaper-sort-size

Conversation

@thejustinwalsh

Copy link
Copy Markdown
Collaborator

Stack created with GitHub Stacks CLI • Give Feedback 💬

@thejustinwalsh
thejustinwalsh added this pull request to stack #293 October 11, 2026 13:15
@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Docs report 📚

Advisory only — this never blocks merging. Anything left open is tracked in the Sync agent docs issue and verified after merge.

Package Concept Attestation Status
@pmndrs/glyph-benchmarks packages/benchmarks.md · edited Promoted the existing offline packed-core-consumer peer isolation to the lowest held layer; package concept remains acc… ✅
@pmndrs/glyph packages/glyph.md · edited Preserved prepared anchor measurements and explicit renderer invalidation in the lowest held layer; corrected existing … (made at ebeb2657, source now c420b6d5) ⚠️

✅ attested · ⚠️ stale · ❌ missing

After your last source change, update each concept if it is now wrong, then record what you changed and checked:

  • packages/glyph.md: mise exec -- pnpm scripts run docs:attest -- @pmndrs/glyph "<what you changed and checked>"

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Package performance: smoke suite

0 faster · 4 slower · 2 neutral · 0 skipped

Baseline 0.1.0-canary-4e25a96a-20261015 → candidate 0.1.0 (502e45a8)

Latency distribution across 6 comparable workload p50s. Each workload counts once; these are not frame times.

statistic baseline candidate
Median workload p50 3.350ms 4.195ms
Workloads ≤1 ms 1 1
Workloads ≤2 ms 2 1
Workloads ≤3 ms 2 2
Workloads >3 ms 4 4

Largest candidate workloads (including neutral results):

workload baseline candidate Δ time
publish after text change 5.13ms 5.69ms +0.560ms
relayout after font-size change 4.48ms 5.32ms +0.840ms
measure after text change 3.26ms 4.20ms +0.940ms
publish after color change 3.44ms 4.19ms +0.750ms
reflow after width change 1.74ms 2.24ms +0.500ms
                                   faster ◀       ┊       ▶ slower    Δ p50      p  baseline   candidate
- measure after text change                       ┊      ├───●┤      +29.0%   .029  ▃█▅▃▁▂▁▁▁▁ ▁▁▁█▇▄▃▂▂▁
- reflow after width change                       ┊├─────────●──┤    +28.5%   .029  ▄█▆▃▄▅▃▁▁▁ ▁▁█▆▄▄▆▆▄▄
- publish after color change                      ┊     ├─●────┤     +21.8%   .029  ▃█▃▅▃▂▁▁▁▁ ▁▁▁▄█▃▆▂▂▂
- relayout after font-size change                 ┊   ├──●──┤        +18.6%   .029  █▆▃▄▂▁▂▃▂▁ ▁▁▂█▄▄▃▂▂▂
  publish after text change                    ├──┼───●─┤            +10.9%   .343  ▄█▃▂▄▁▂▂▁▁ ▁▅█▆▅▃▃▁▁▁
  measure 100 unchanged labels            ├───────●──────────┤        -0.8%  1.000  ▃▅██▄▅▃▁▁▁ ▁▃█▆▂▂▂▁▂▁
                                   └──────────────┴──────────────┘
                                   -40%           0           +40%
status bench baseline candidate Δ time Δ p50 p 95% CI
🔴 slower measure after text change 3.26ms 4.20ms +0.940ms +29.0% .029 +18.5..+32.5%
🔴 slower reflow after width change 1.74ms 2.24ms +0.500ms +28.5% .029 +3.5..+38.2%
🔴 slower publish after color change 3.44ms 4.19ms +0.750ms +21.8% .029 +14.8..+34.5%
🔴 slower relayout after font-size change 4.48ms 5.32ms +0.840ms +18.6% .029 +10.5..+26.8%
2 neutral, 0 skipped
status bench baseline candidate Δ time Δ p50 p 95% CI
neutral publish after text change 5.13ms 5.69ms +0.560ms +10.9% .343 -7.9..+16.6%
neutral measure 100 unchanged labels 76.32µs 75.70µs -0.000620ms -0.8% 1.000 -21.4..+28.6%

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

size-limit report 📦

Surface gzip Surface gzip
Core JS 91.9 kB (0%) Inter font · Bitmap 558.2 kB (0%)
Shaper Wasm 591.7 kB (-0.19% Size decrease) Inter font · MTSDF 8.17 MB (0%)
Three.js adapter JS 143.4 kB (0%) Inter font · Slug 618.3 kB (0%)
React adapter JS 143.1 kB (0%) Font Awesome icons · Bitmap 449.9 kB (0%)
Vue adapter JS 142.9 kB (0%) Font Awesome icons · MTSDF 8.76 MB (0%)
R3F hello-world app JS 747.9 kB (<0.01% Size decrease) Font Awesome icons · Slug 657.9 kB (0%)
Tres playground app JS 572.2 kB (<0.01% Size increase) Bitmap baker JS 4.9 kB (0%)
Font validator JS 144.8 kB (0%) Bitmap baker Wasm 231.1 kB (<0.01% Size decrease)
Runtime bake host JS 6.1 kB (0%) MTSDF baker JS 5.6 kB (0%)
Runtime bake Worker JS 13.5 kB (0%) MTSDF baker Wasm 215.5 kB (<0.01% Size increase)
Font baker JS 2.6 kB (0%) Slug baker JS 4.5 kB (0%)
Font baker Wasm 389.0 kB (+0.02% Size increase) Slug baker Wasm 183.7 kB (<0.01% Size decrease)

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