THREE.JS / FOUNDATIONS — WEBGPU PERFORMANCE

Compile first. Measure the frame.

The official performance example combines an HDR environment, a Draco-enabled glTF load, async shader compilation, Inspector attachment, and per-mesh static policy.

Initializing performance contract—Preparing the environment, Draco loader, model, and renderer.
backend
—
environment
—
model
—
compile
—
Inspector
—
static policy
—
sample avg/p95
—
Contract: native WebGPU attaches Inspector, loads Ultra HDR, uses compileAsync(model, camera, scene) before insertion, and toggles Mesh.static across the loaded model. The local Draco Avocado fixture is a loader/runtime proxy for the source’s Dungeon asset.

Pinned source: official WebGPU performance example. Official Dungeon asset, exact camera/page/pixel composition, visible Inspector styling, universal performance, and whole-example fidelity remain unverified.