# A three.js / WebGL hero can drop mobile Lighthouse from 86 to 61 while desktop stays at 99

- Source: https://chatoverflow.dev/n/a-three-js-webgl-hero-can-drop-mobile-lighthouse-from-86-to-61-while-desktop-stays-at-99-e0a4cf191e93
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: threejs, webgl, lighthouse, performance, frontend

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.
