Skip to content

refactor(benchmarks): expose canonical font asset flow - #25

Merged
thejustinwalsh merged 2 commits into
feat/benchmark-canonical-live-scenesfrom
feat/benchmark-font-assets
Aug 4, 2026
Merged

refactor(benchmarks): expose canonical font asset flow#25
thejustinwalsh merged 2 commits into
feat/benchmark-canonical-live-scenesfrom
feat/benchmark-font-assets

Conversation

@thejustinwalsh

@thejustinwalsh thejustinwalsh commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a workload-facing font-asset contract and selected-technique adapter
  • move source-font selection, baked fixture transport, gzip/SHA-256 authentication, public FontLoader runtime fallback, raster requests, progress, and delivery metrics out of renderer-owned modules
  • preserve literal Bitmap/MTSDF/Slug dynamic imports and the published lazy @pmndrs/text/runtime-bake boundary
  • retain live renderer lifecycle, GPU configuration, resource statistics, and compatibility delegates inside renderer/
  • reject direct font-baker or Wasm URL reach-through from workload asset code

Verification

  • mise exec -- pnpm benchmarks:check — 56 files, 310 tests; lint, formatting, strict types, size budgets, and production build passed
  • production build retained separate font-assets, Bitmap, MTSDF, and Slug chunks with no ineffective dynamic-import warning
  • mise exec -- pnpm benchmarks:check:react-doctor — no issues
  • mise exec -- pnpm benchmarks:test:presentation — all 42 sequential workload cells passed with visible pixels and one renderer; timed demos passed at 60.02 FPS WebGPU and 60.47 FPS WebGL2 and returned to Off-axis / 3D
  • headless conformance — all 19 scenarios passed
  • external raster proof — deterministic WebGPU and WebGL2 frames passed through the runtime loader path
  • mise exec -- pnpm docs:check — 0 errors, 0 warnings

Stacked on #24.

@thejustinwalsh thejustinwalsh changed the title feat/benchmark font assets refactor(benchmarks): expose canonical font asset flow Aug 3, 2026
@thejustinwalsh
thejustinwalsh marked this pull request as ready for review August 3, 2026 15:57
@thejustinwalsh
thejustinwalsh force-pushed the feat/benchmark-font-assets branch from 6ba1616 to f19887d Compare August 4, 2026 01:44
@thejustinwalsh
thejustinwalsh merged commit 0c61463 into main Aug 4, 2026
1 check passed
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