Faster Load Times with glTF’s GLB Format

Faster Load Times with glTF’s GLB Format

The PlayCanvas team announced the Editor support of glTF GLB conversion with model and animation imports. This gives developers an order of magnitude reduction in load times compared to the JSON format while keeping similar gzipped download size. Using the Stanford Dragon model (2,613,679 vertices, 871,414 triangles), we can compare GLB and JSON parse times on a Macbook Pro 16 inch. The JSON format took over 3 secs just to parse the data, a peak memory usage of ~498 MB and a gzipped package size of 28.1MB. GLB speeds ahead taking only 0.193 secs which is 17x faster, uses a peak of ~25.2 MB of memory and a gzipped package size of 25.7MB!

devilish