Meshopt compression cuts Three.js GLB size 59% and halves local first-frame time

A test of Three.js GLB loading compared a raw 319,648-byte plant model with a meshopt-compressed version of 130,296 bytes, with decoded vertex data confirmed identical. Across 20 local WebGPU trials on Chromium with an RTX 5070 Ti, the smaller file lowered the median time to first frame on fresh URLs from 35.7 ms to 17.6 ms. Cached loads were much closer in timing, and the first raw trial included a large shader compilation cost. The author notes these results cover only local loading and do not reflect internet delivery, new-device startup, or mobile thermal behavior. The report also separates first-frame budgets from steady frame-rate budgets and includes CSV data, timing logs, and a reproduction package.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in