I have been using different methods like starting a counter during the preload screen and then getting the duration to the application load complete events from that point as a solution for a while now but I was just wondering if there is something available in the playcanvas API that holds some common information like time taken to load the app, time spent on the app, etc.
Normally I use Chrome Devtools (with a fixed network profiler) and the performance profiler to measure this.
PlayCanvas doesn’t have any internal stats for this so if you did need to measure this, you would have to add it yourself. There are some private events that are fired from the app object that you could hook into if you dig into the engine source code.
Sorry about that. I should have mentioned the context here. This is mostly for Analytics, but based on what you have mentioned already, doesn’t look like we have anything to get this data from playcanvas?