Is there a way to accurately measure the moment when my objects are displayed on the screen?
Similar to an onLoad
event for the graphics processing unit (GPU).
I am looking to evaluate the performance differences between various implementations in order to make an informed decision on how to handle my geometries.
This is mainly to compare the effectiveness of differently constructed buffer geometries (indexed, non-indexed, native buffer geometries, or converted buffer geometries).
UPDATE:
I attempted to use console.time('loading')
and console.timeEnd('loading')
, but I have struggled with placing them at the correct moment. It seems that timeEnd
fires once parsing is complete, which occurs before the objects actually appear on the screen. I just need guidance on where to position these methods.