Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Dec 15, 2025

Related issue: #32558

Description

I fixed some issues related to the previous PR.

We shouldn't have had such a noticeable performance impact before #32243; the intention is to improve the uniforms buffer management for larger and shared buffers.

@sunag sunag added this to the r183 milestone Dec 15, 2025
@github-actions
Copy link

github-actions bot commented Dec 15, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 355.17
84.44
355.17
84.44
+0 B
+0 B
WebGPU 618.32
171.7
618.71
171.79
+387 B
+89 B
WebGPU Nodes 616.92
171.45
617.31
171.54
+387 B
+91 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 487.34
119.31
487.34
119.31
+0 B
+0 B
WebGPU 688.95
187.13
689.34
187.21
+387 B
+82 B
WebGPU Nodes 638.79
174.32
639.18
174.41
+387 B
+82 B

@sunag sunag marked this pull request as ready for review December 15, 2025 20:22
@sunag sunag merged commit 0ec9a77 into mrdoob:dev Dec 15, 2025
10 checks passed
@sunag sunag deleted the dev-range branch December 15, 2025 20:24
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