The startup time drastically increased after adding syncfusion to my project, is there anyway to mitigate this?

I started a new project in visual studios and it had a startup time less than 1 second. After adding "Syncfusion controls for UWP XAML" in the references, the startup time was ~9seconds. Is there any way to decrease this startup time? 


3 Replies

SN Sudharsan Narayanan Syncfusion Team August 14, 2023 01:47 PM UTC

Hi Kevin, 

We were unable to reproduce the startup time performance issue by adding "Syncfusion controls for UWP XAML" as a reference. So, please share more details about the controls that were added to your project and the startup time. It will be helpful for us to proceed further and provide a prompt solution to this. 

Regards, 
Sudharsan



KL Kevin Li replied to Sudharsan Narayanan August 17, 2023 08:03 PM UTC

Created video for reference: https://youtu.be/-dh5wn5FQjk.

Syncfusion was downloaded at https://www.syncfusion.com/account/downloads/studio/licensed/18_4_0_30.

Downloaded older version since I am working on a old app that used the old report functionality and I don't want to deal with the hassle of updating to the new version. The Slowdown should also happen on the newer versions thou.

The slow startup time on my computer was only ~ 8sec however some of our customers have older computers and have had startup times of 30 seconds to >1 min. I was wondering if there is anyway to improve this.

--------

After further testing, I have found that

rootFrame.Navigate(typeof(MainPage), e.Arguments); is what causes a long startup time for my main project (not the template in the video). The time between the function call and public MainPage() is 12,000 ms.



SN Sudharsan Narayanan Syncfusion Team August 18, 2023 01:00 PM UTC

Hi Kevin,

As Syncfusion controls contain many numbers of assemblies, it will take time to load the application while adding Syncfusion controls for UWP XAML. Instead of using the consolidated package assembly, you can attach only the required control assemblies or packages to your project. It will reduce the startup time.

Please let us know if you need any further assistance.

Regards,
Sudharsan


Loader.
Up arrow icon