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?"
Chris Jackson
Jun 08, 2017Former Employee
Part of me wants to just post the unhelpful response, which is "write less of it, because less code runs faster". That part won.
But then another part of me decided it would be friendlier to ask what exactly you mean - are you speaking of writing Universal Windows Apps that perform better on Mobile, or web apps that perform well on mobile web browsers as well as desktop browsers, or...? It's a really vague question we're struggling to get you a good answer to...
But then another part of me decided it would be friendlier to ask what exactly you mean - are you speaking of writing Universal Windows Apps that perform better on Mobile, or web apps that perform well on mobile web browsers as well as desktop browsers, or...? It's a really vague question we're struggling to get you a good answer to...