Forum Discussion
Eduardo Gomez Romero
Jun 08, 2017Copper Contributor
optimize your code
How would you optimize your code for Mobile
- Jun 08, 2017Lots of information on that here: https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/performance-and-xaml-ui - in general, it is about being really careful with the code that you write, and using the CPU sparingly. Lots of work has been done on asynchronous code development, as probably the biggest CPU burner I've come across recently is wait loops "are you done yet? are you done yet? are you done yet? are you done yet?"
Eduardo Gomez Romero
Jun 08, 2017Copper Contributor
well as we know microsoft mobile is different from desktop applications so you have to be careful with the battery life and everything else so what implementations would you can see there when you're being an app for mobile device
Chris Jackson
Jun 08, 2017Former Employee
Lots of information on that here: https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/performance-and-xaml-ui - in general, it is about being really careful with the code that you write, and using the CPU sparingly. Lots of work has been done on asynchronous code development, as probably the biggest CPU burner I've come across recently is wait loops "are you done yet? are you done yet? are you done yet? are you done yet?"