Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 904 Bytes

BENCHMARK.md

File metadata and controls

29 lines (23 loc) · 904 Bytes

Loading time (comparative benchmark)

Context:

  • Same test model in various format
  • 4 spheres containing 36864 indices and 24576 vertices each (12288 triangles each).
  • Run on desktop

All exported from Blender, FBX converted to G3D like this: $ fbx-conv -o G3DJ four-spheres.fbx four-spheres.g3dj $ fbx-conv -o G3DB four-spheres.fbx four-spheres.g3db

resources can be found in gltf/testRes/benchmark benchmark code can be found in gltf/test/net/mgsx/gltf/Benchmark.java

Results:

Consistency check...
Warmup...
Measuring...
G3DJ (100 iterations), average time:294.23ms
G3DB (100 iterations), average time:46.73ms
GLTF separated (100 iterations), average time:11.17ms
GLTF embeded (100 iterations), average time:46.84ms
GLB (100 iterations), average time:9.21ms
OBJ (100 iterations), average time:132.65ms
Done.