Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jul 9, 2025

Related issue: #30497

Description

As suggested in #30497 (comment), this PR moves THREE.Timer into the core as the successor for THREE.Clock.

Ideally, THREE.Clock with its conceptual flaws is deprecated in the future.

@github-actions
Copy link

github-actions bot commented Jul 9, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.36
78.95
338.37
78.95
+6 B
+3 B
WebGPU 557.72
154.42
557.72
154.42
+6 B
+2 B
WebGPU Nodes 556.64
154.2
556.64
154.2
+6 B
+3 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 469.6
113.66
469.6
113.66
+0 B
+0 B
WebGPU 633.39
171.45
633.39
171.45
+0 B
+0 B
WebGPU Nodes 588.52
160.8
588.52
160.8
+0 B
+0 B

@mrdoob
Copy link
Owner

mrdoob commented Jul 10, 2025

Sounds good to me!

@mrdoob mrdoob added this to the r179 milestone Jul 10, 2025
@Mugen87 Mugen87 merged commit 965b51c into mrdoob:dev Jul 10, 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