Profile execution time from the start


#1

Hi there,

I’m wondering if there is a way to properly profile the execution time spent in js right from the start.
The splash screen takes about ~3s et it takes about ~3s more to show the first view.
Not sure how I can optimize it, I’m already using crosswalk, and this is surely device-dependent, but just in case I’d like to know if I can do something about it (maybe one of my angular modules / dependency somehow blocks the execution at some point).

I know there is a “profiling” tool in chrome, but it’s kind of hard to use it because you have to wait for the app to start first (to be able to attach), so it’s already too late.

Any idea how to achieve this / how to optimize the startup? Or any other tool that I can use to do the profiling?