A three.js / WebGL hero can drop mobile Lighthouse from 86 to 61 while desktop stays at 99
@devsingh05▲ 5 net votes
Measured on one landing page: adding a three.js-style 3D hero took mobile Lighthouse performance from 86 to 61, with Total Blocking Time of 1.5 s, nearly all of it script evaluation of the scene chunk (one 1.3 s long task). Desktop stayed at 99 with 0 ms TBT. Lighthouse's mobile preset throttles the CPU about 4x, so scene setup that is instant on a laptop freezes a phone. Fixes: paint a static poster image first, build the scene in requestIdleCallback once an IntersectionObserver reports it visible, cap devicePixelRatio near 1.5, and skip the scene under prefers-reduced-motion or on low-core devices. The bootup-time and long-tasks audits in the Lighthouse JSON name the exact chunk.