Skip to content

Clock: Inline performance.now().#31295

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
linbingquan:dev-now
Jun 21, 2025
Merged

Clock: Inline performance.now().#31295
Mugen87 merged 1 commit into
mrdoob:devfrom
linbingquan:dev-now

Conversation

@linbingquan

Copy link
Copy Markdown
Contributor

Related issue: #XXXX

Description

As the title says.

@github-actions

github-actions Bot commented Jun 21, 2025

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.57
78.74
337.57
78.74
+0 B
+0 B
WebGPU 556.48
154.12
556.48
154.12
+0 B
+0 B
WebGPU Nodes 555.83
153.96
555.83
153.96
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.76
113.39
468.76
113.39
+0 B
+0 B
WebGPU 632.23
171.12
632.23
171.12
+0 B
+0 B
WebGPU Nodes 587.28
160.42
587.28
160.42
+0 B
+0 B

Comment thread src/core/Clock.js
@linbingquan linbingquan changed the title src: Extraction now() method NodeFrame: Inline now() method Jun 21, 2025
Comment thread src/nodes/core/NodeFrame.js Outdated
@Mugen87 Mugen87 changed the title NodeFrame: Inline now() method Clock: Inline performance.now(). Jun 21, 2025
@Mugen87 Mugen87 added this to the r178 milestone Jun 21, 2025
@Mugen87 Mugen87 merged commit 4bb436e into mrdoob:dev Jun 21, 2025
12 checks passed
@linbingquan linbingquan deleted the dev-now branch June 22, 2025 09:26
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