UWP app performance is slower when compared to Windows desktop application(WPF)

Uma Venkateswararao Achanta 0 Reputation points
2023-09-04T11:05:55.5266667+00:00

I am developing an application in UWP and where I have to download data form network on button click.

In Windows desktop application(WPF) it is taking lower time(11 sec) as compared to UWP(33 sec).

So, does any one has idea on these performance impact on uwp as compared to wpf?

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Johnm 0 Reputation points
    2024-09-26T14:01:32.4633333+00:00

    The performance difference between UWP and WPF in your case likely stems from UWP's additional security, sandboxing, and resource management constraints, which can cause slower network or I/O operations. WPF, being a more traditional desktop framework, has fewer restrictions and can access system resources more directly, leading to faster performance. To improve UWP performance, consider optimizing your code, use light fonts, reducing overhead, or using asynchronous operations effectively.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.