Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

EPiServer.Data.Dynamic.TypeResolver slows down HQL queries

Vote:
 

One of sites supported by our team has performance problem. We used NHibernate in the custom page provider implementation and page queries apparently translated to HQL and then to SQL. I profiled application and surpisingly found significant time sink in EPiServer.Data.Dynamic.TypeResolver which subscribed to ResolveType event. When we suppress event handler with

EPiServer.Data.Dynamic.TypeResolver.AutoResolve = false;

    we see 3.5x acceleration of page publishing from 2300ms down to 650 ms. On other hand we do use dynamic data store in the application and I want to know how suppresing autoResolve may affect its functionality.

Thanks

#47472
Jan 30, 2011 8:45
Vote:
 

Up. Does someone of EPiServer employees know the answer?

#47801
Feb 12, 2011 14:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.