London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Is it supposed to be this slow (startup time)

Vote:
 

I am working on a project which use Episerver CMS 5 R2 SP2 with Community. When developing we have quite a big painpoint in the startup time for the project.

After building it takes about 2 minutes for the first page load, sometimes alot longer. I have tried the web.config setting sugested in http://world.episerver.com/Blogs/Per-Bjurstrom/Archive/2009/4/Optimize-startup-time-in-ASPNET/ but that dident seem to help much.

Does anyone have any tips om how to make it start faster?

#38953
Apr 26, 2010 14:26
Vote:
 

Andreas, have you tried using a profiler like dotTrace for the start up?

#38956
Apr 26, 2010 14:48
Vote:
 

Yes I have used a profiler on it and found out that PageTypeBuilder takes a bit of the startup time. But that is probably to be expected since we have quite alot of pagetypes.

PTB takes about 20-30% of the time but what about the rest?

Some examples:

EPiServer.Web.UrlRewriteModule.HttpUrlRewriteToInternal(UrlBuilder) : 13 seconds

EPiServer.DataFactoryCache.UploadEndPoints(Object) : 30 seconds

EPiServer.Web.HtmlRewritePipe.RewriteToEnd(TextReader, TextWriter) : 20 seconds

EPiServer.Common.Settings.LoadSettings() : 7 seconds

System.Web.Hosting.ProcessHost.StartApplication(String, String, Object &) : 9 seconds

// Andreas

#39109
May 04, 2010 16:33
* 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.