Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Apr 20, 2025

Related issue: #30830 (comment)

Description

Cache function of getShadowRenderObjectFunction()

@sunag sunag added this to the r176 milestone Apr 20, 2025
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.33
78.33
336.33
78.33
+0 B
+0 B
WebGPU 545.96
151.35
546.14
151.43
+179 B
+81 B
WebGPU Nodes 545.31
151.19
545.49
151.28
+179 B
+80 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.78
112.28
465.78
112.28
+0 B
+0 B
WebGPU 619.81
167.7
619.99
167.76
+179 B
+62 B
WebGPU Nodes 574.68
156.98
574.86
157.05
+179 B
+67 B

@sunag sunag marked this pull request as ready for review April 20, 2025 22:53
@sunag sunag merged commit fe9a57c into mrdoob:dev Apr 20, 2025
12 checks passed
@sunag sunag deleted the dev-cache branch April 20, 2025 23:00
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
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