Skip to content

Conversation

@cmhhelgeson
Copy link
Contributor

Related issue: #XXXX

Description

Currently the Node Frame updateMap maps a node to a WeakMap, which itself is just a map of that same node to a render id. This can just be a map of the node to the ids themselves.

@github-actions
Copy link

github-actions bot commented Sep 12, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.24
79.14
338.24
79.14
+0 B
+0 B
WebGPU 580.88
160.44
580.82
160.43
-55 B
-10 B
WebGPU Nodes 579.48
160.19
579.43
160.18
-55 B
-10 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 469.7
113.74
469.7
113.74
+0 B
+0 B
WebGPU 650.41
175.98
650.35
175.97
-55 B
-16 B
WebGPU Nodes 604.52
165.16
604.47
165.15
-55 B
-5 B

@sunag sunag added this to the r181 milestone Sep 13, 2025
@sunag sunag merged commit ecaced5 into mrdoob:dev Sep 13, 2025
9 checks 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.

2 participants