Every page load is slow with GC error in console.

Blazor WASM

SyncFusion 18.3.0.44

I have some simple pages with different SF charts on them. Every page load takes 1-2 seconds (not site load...the page the controls are one). Every load includes a GC (Garbage Collection?) "Nursery Full" message just before the charts get displayed. 

Example:

L: GC_MINOR: (Nursery full) time 3.66ms, stw 3.66ms promoted 276K major size: 19104K in use: 13209K los size: 3072K in use: 1677K

I am experimenting with components from other publishers for comparison and do not see this behavior. 

It doesn't seem to matter how many charts I have on a page. 

Thanks in advance for any assistance. 


4 Replies 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team November 4, 2020 12:21 PM UTC

Hi Christopher,  
 
Thanks for contacting syncfusion support. 
 
Please find the response below for the reported queries 
 
Query #1: I have some simple pages with different SF charts on them. Every page load takes 1-2 seconds (not site load...the page the controls are one). 
 
We have analysed your query. From that, we would like to let you know that the chart rendering duration of 1-2 seconds in WASM is caused due to the time taken for downloading the source files and rendering which is valid in comparing empty page loading and with component loading. 
 
Query #2: Every load includes a GC (Garbage Collection?) "Nursery Full" message just before the charts get displayed. 
 
We would like to inform you that, as Chart contains nested component to generate complex dom structures, this GC message gets displayed at initial rendering of the page. Please refer the below github links for your reference,  
   
 
if you are still facing difficulties, then kindly check this case with our latest version by clearing the nugget cache in your application. And also try by clearing the browser cache and deleting the bin and obj folders in your application. You can clear the nugget cache before installing the new nugget package version using VS by following the steps in below link.  
 
 
Let us know if you have any concerns. 
 
Regards,  
Srihari M  


Marked as answer

CH Christopher November 4, 2020 04:59 PM UTC

Thank you for your reply Srihari but I have follow up questions: 

  • The load time should happen on initial site, load...correct? Not every time I navigate pages. This 1-3 second delay happens EVERY time the user leaves the page and comes back. It is not site reloading. It's page rendering. 
  • Other Blazor controls (like Radzen) do not have this behavior and delay. 
  • How can I mitigate this problem. Your products are unusable in this state so I can't believe this is considered acceptable. 


TD Tom Dimos November 4, 2020 08:31 PM UTC

I saw great performance boost by upgrading to the latest .Net Sdk .Try it if you haven't already.


SM Srihari Muthukaruppan Syncfusion Team November 5, 2020 06:12 AM UTC

Hi Christopher, 
 
As suggested earlier we request you to upgrade the latest package and latest .Net Sdk to improve the performance.  
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari M 


Loader.
Up arrow icon