I have a very basic webpartt which has a telerik tab control and 7 different tab with some controls on it. It is using Linq to sharepoint lists to retrieve data from lists.
I added this web part to a page, but it is awfully slow. I have vetted my code, but could not find anything which may cause performance issue(it is a simple query anyway)
here is the developer dashboard output
Database Queries
proc_FetchDocForHttpGet 32.53 ms
proc_FetchDocForHttpGet 21.27 ms
proc_GetWebMetainfo 21.82 ms
proc_GetParentWebUrl 4.63 ms
proc_GetTpWebMetaDataAndListMetaData 10.02 ms
proc_GetWebMetainfo 8.54 ms
proc_GetParentWebUrl 4.87 ms
proc_GetTpWebMetaDataAndListMetaData 10.40 ms
proc_EnumLists' CommandType: 12.07 ms
proc_GetListMetaDataAndEventReceivers 10.05 ms
proc_GetTpWebMetaDataAndListMetaData 12.13 ms
proc_EnumLists' CommandType: 11.12 ms
proc_GetListMetaDataAndEventReceivers 172.78 ms
SELECT t2.[tp_Created] 8.10 ms
proc_GetWebNavStruct 7.93 ms
SELECT t2.[tp_Created] 7.45 ms
and
WebPart Events Offsets
SPWebPartManager OnLoad +0.00 ms
Web Part Page Title Bar OnLoad +0.02 ms
OnLoad +0.02 ms
SPWebPartManager OnPreRender +0.00 ms
Web Part Page Title Bar OnPreRender +0.24 ms
OnPreRender **+12475.23 ms**
Someone mentioned in another question that disabling publishing service fixed the issue.
But I am using SharePoint Foundation 2010, so I do not have publishing service.
Do you have any idea what caused this slowness?
P.S: the server app is running on has 4 Cores and 8 GB RAM, also database server is on a very beefy server(different from web app)
Thanks