Profiling application startup



I’m having some trouble with my application loading times and I’d like to profile it.
I’m using the Chrome remote debugging tools (web inspector), however that lets me connect to the app only after it has been started and closes immediately when I close the app, so I can’t see what’s happening during the initial JS load.

I’m sure that you had to profile the startup times profoundly when creating app-scripts, could you give me an advice how can I profile the application load? I’m not talking about cordova itself, but rather the initial load of the JS bundles (polyfills, app code etc.).