Skip to content

docs: Pufferfish#1989

Draft
iwoplaza wants to merge 5 commits into
mainfrom
docs/pufferfish-breakdown
Draft

docs: Pufferfish#1989
iwoplaza wants to merge 5 commits into
mainfrom
docs/pufferfish-breakdown

Conversation

@iwoplaza

@iwoplaza iwoplaza commented Dec 17, 2025

Copy link
Copy Markdown
Collaborator

TODO:

  • Smoothly set alpha to 0 around the edges of the face texture, instead of clamping

@github-actions

github-actions Bot commented Dec 17, 2025

Copy link
Copy Markdown

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/tgpu-gen@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/tinyest-for-wgsl@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/typegpu@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/cli@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/color@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/gl@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/noise@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/radiance-cascades@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/react@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/sdf@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/three@9c3b85e1095d80eea1aae782c0bce0a1e736a474
https://pkg.pr.new/software-mansion/TypeGPU/unplugin-typegpu@9c3b85e1095d80eea1aae782c0bce0a1e736a474

benchmark
view benchmark

commit
view commit

@iwoplaza iwoplaza force-pushed the docs/pufferfish-breakdown branch from e069c4d to 2e3e8f3 Compare May 13, 2026 09:27
@github-actions

github-actions Bot commented May 13, 2026

Copy link
Copy Markdown

Bundle size comparison (import * as ... in PR vs import * as ... in target):

🟢 Decreased ➖ Unchanged 🔴 Increased ❔ Unknown
0 321 0 0

import { ... } in PR vs import * as ... in PR (is the library tree-Shakeable?):

Test tsdown
tgpu_init.ts 256.41 kB ($${\color{green}-3.2\%}$$)
tgpu_initFromDevice.ts 255.90 kB ($${\color{green}-3.4\%}$$)
tgpu_resolve.ts 187.13 kB ($${\color{green}-29.4\%}$$)
tgpu_resolveWithContext.ts 187.07 kB ($${\color{green}-29.4\%}$$)
tgpu_bindGroupLayout.ts 69.01 kB ($${\color{green}-73.9\%}$$)
tgpu_mutableAccessor.ts 65.98 kB ($${\color{green}-75.1\%}$$)
tgpu_accessor.ts 65.97 kB ($${\color{green}-75.1\%}$$)
tgpu_privateVar.ts 65.30 kB ($${\color{green}-75.3\%}$$)
tgpu_workgroupVar.ts 65.30 kB ($${\color{green}-75.3\%}$$)
tgpu_const.ts 64.53 kB ($${\color{green}-75.6\%}$$)
tgpu_fn.ts 37.94 kB ($${\color{green}-85.7\%}$$)
tgpu_fragmentFn.ts 37.87 kB ($${\color{green}-85.7\%}$$)
tgpu_vertexFn.ts 37.69 kB ($${\color{green}-85.8\%}$$)
tgpu_computeFn.ts 37.39 kB ($${\color{green}-85.9\%}$$)
tgpu_vertexLayout.ts 26.61 kB ($${\color{green}-90.0\%}$$)
tgpu_comptime.ts 14.41 kB ($${\color{green}-94.6\%}$$)
tgpu_unroll.ts 2.60 kB ($${\color{green}-99.0\%}$$)
tgpu_slot.ts 1.57 kB ($${\color{green}-99.4\%}$$)
tgpu_lazy.ts 1.22 kB ($${\color{green}-99.5\%}$$)

If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.

@github-actions

github-actions Bot commented May 13, 2026

Copy link
Copy Markdown

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.95, 2.02, 4.33, 6.90, 7.79, 11.58, 22.08, 26.30]
  line [0.94, 1.98, 4.49, 6.81, 7.55, 10.78, 22.33, 24.58]
  line [0.92, 1.87, 4.19, 6.22, 7.27, 11.49, 21.72, 22.34]
Loading
---
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.32, 0.53, 0.73, 0.83, 1.12, 1.17, 1.45, 1.59]
  line [0.34, 0.52, 0.69, 0.87, 1.15, 1.15, 1.41, 1.55]
  line [0.30, 0.56, 0.68, 0.81, 1.10, 1.15, 1.43, 1.55]
Loading
---
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.90, 2.03, 4.64, 6.45, 12.62, 26.46, 55.50, 116.03]
  line [0.90, 2.16, 4.21, 6.59, 12.63, 26.31, 57.70, 113.79]
  line [0.90, 2.09, 4.04, 6.25, 12.71, 26.07, 55.19, 109.75]
Loading

@iwoplaza iwoplaza force-pushed the docs/pufferfish-breakdown branch from 2e3e8f3 to c568019 Compare May 13, 2026 10:42
@iwoplaza iwoplaza force-pushed the docs/pufferfish-breakdown branch from c568019 to 9c3b85e Compare July 9, 2026 16:45
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