Hello, Welcome to Microsoft Q&A,
Have you built the application with the non-debug mode? Using debug mode to build the application will increase the burden of the program and slow down the efficiency of the operation. For your case, you can consider building the project as the shipping version to achieve the best performance. Besides, to optimize the performance of programs, we would also suggest you use the real device to test the program instead with using the editor remote streaming.
----
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.