Skip to content

NodeMaterialObserver: Speed up geometry comparisons.#33199

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev6
Mar 17, 2026
Merged

NodeMaterialObserver: Speed up geometry comparisons.#33199
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev6

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 17, 2026

Related issue: #33198

Description

Similar to #33198, NodeMaterialObserver now caches the geometry data comparisons per render call.

Diff: https://github.com/mrdoob/three.js/pull/33199/changes?w=1

@Mugen87 Mugen87 added this to the r184 milestone Mar 17, 2026
@github-actions
Copy link

github-actions bot commented Mar 17, 2026

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.97
85.54
359.97
85.54
+0 B
+0 B
WebGPU 631.8
175.3
632.09
175.38
+281 B
+87 B
WebGPU Nodes 629.92
175.01
630.2
175.09
+281 B
+86 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 492.17
120.12
492.17
120.12
+0 B
+0 B
WebGPU 704.24
190.16
704.52
190.19
+281 B
+24 B
WebGPU Nodes 653.46
177.53
653.74
177.59
+281 B
+65 B

@Mugen87 Mugen87 merged commit 8a86006 into mrdoob:dev Mar 17, 2026
10 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.

1 participant