Skip to content

Conversation

linbingquan
Copy link
Contributor

Related issue: #XXXX

Description

Reduce the repetitive creation of function.

Copy link

github-actions bot commented May 29, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.26
78.64
337.26
78.64
+0 B
+0 B
WebGPU 553.48
153.41
553.49
153.41
+7 B
+0 B
WebGPU Nodes 552.83
153.26
552.84
153.26
+7 B
+1 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.44
113.28
468.44
113.28
+0 B
+0 B
WebGPU 628.43
170.1
628.43
170.11
+7 B
+7 B
WebGPU Nodes 583.28
159.44
583.28
159.45
+7 B
+6 B

@Mugen87 Mugen87 added this to the r177 milestone May 29, 2025
@Mugen87 Mugen87 merged commit 8a7655d into mrdoob:dev May 29, 2025
12 checks passed
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* WebGLTextureUtils: Clean up.

* clean up

* fix eslint error

* Update WebGLTextureUtils.js

---------

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* WebGLTextureUtils: Clean up.

* clean up

* fix eslint error

* Update WebGLTextureUtils.js

---------

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
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