My app works pretty much ok, but I´d like to optimise it to ensure it always behaves as expected. For the majority of the time everything is very simple. However, on one page I have effectively have 2 actions flows running at the same time and continuously. One is writing to firestore every few seconds, the other is getting GPS coordinates every second.
What ways can I see what processing time each of these threads is taking?
Can phones deal with two independent action flows running at the same time?
Are there any tools I could use with the live version to see if there are conflicts in terms of processing priority?
This discussion is really about find out the best practises for debugging a working app. I don´t think testing in run time is relevant as its on a different OS and device.