Skip to content

Conversation

cmhhelgeson
Copy link
Contributor

Related issue: #32037

Description

Updates compute cache labels and caches them on the passed in computeGroup so they are not recreated each frame.

@github-actions
Copy link

github-actions bot commented Oct 14, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 348.94
84.6
348.94
84.6
+0 B
+0 B
WebGPU 603.55
169.27
603.8
169.35
+254 B
+75 B
WebGPU Nodes 602.15
169.04
602.41
169.11
+254 B
+74 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 480.6
119.35
480.6
119.35
+0 B
+0 B
WebGPU 672.96
184.71
673.22
184.79
+254 B
+81 B
WebGPU Nodes 615.47
168.09
615.72
168.16
+254 B
+75 B

@sunag
Copy link
Collaborator

sunag commented Oct 15, 2025

I'm still not sure if I'd like to keep an Array as a parameter, I was thinking about using something like computeGroup( [ ... ] ), or something along those lines. If we have a class we would have more control over the process.

@cmhhelgeson
Copy link
Contributor Author

I'm still not sure if I'd like to keep an Array as a parameter, I was thinking about using something like computeGroup( [ ... ] ), or something along those lines. If we have a class we would have more control over the process.

I think for now it's fine, but it's something to discuss later. Just want to update the labels for now.

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.

2 participants