We tested the exact same Three.js scene with and without _batching: 326 3D objects, lighting, environment, and EffectComposer post-processing. Without batching, we had around 500 draw calls and 6-8 ms of CPU time per frame. With batching, that dropped to about 30 draw calls and 2-3 ms.
We tested the exact same Three.js scene with and without _batching: 326 3D objects, lighting, environment, and EffectComposer post-processing. Without batching, we had around 500 draw calls and 6-8 ms of CPU time per frame. With batching, that dropped to about 30 draw calls and 2-3 ms.
0 vue
Publié le 16/09/2026 08:46
0:23
We tested the exact same Three.js scene with and without _batching: 326 3D objects, lighting, environment, and EffectComposer post-processing. Without batching, we had around 500 draw calls and 6-8 ms of CPU time per frame. With batching, that dropped to about 30 draw calls and 2-3 ms.
1 commentaire
?
On an average desktop 6-8 ms seems fine, but the browser main thread gives you a hard ceiling of 16 ms to maintain 60 FPS. As soon as the scene expands or you add physics and complex UI, the frame rate tanks.
The real bottleneck here is usually not the graphics card struggling with geometry, the CPU is simply overwhelmed by sending 500 separate draw calls to the GPU. Batching treats this like wholesale shipping, packing geometry together so the CPU issues one command and frees up the thread.