Developer forum

Forum » Development » Poor performance.

Poor performance.

David Lofqvist
Reply

Hi!

Im trying to find why pages load slow on a site and using  ?debug=true in browser reveals that its the "Rendering product " step that takes long.  It takes even longer when a user is logged in. 

Any tips on what to do to resolve this issue?  

Is it possible to write own debug texts into the output of "?debug=true" output for tracing on whats going on?

DW Version:

20.9.0.3
Assemblyversioner
Dynamicweb.dll 8.9.0.3
8.9.0.3 Dynamicweb, Version=8.0.0.0,

/regards David


Replies

 
Nicolai Pedersen
Reply

Hi David

In your custom code you can write PageView.Current().Execution.Add("This happened") - and it will appear in the debug stack. If you do it from a template, it will come in the wrong order in the debug table because these lines are not executed until the template is rendered. But you can still use the information.

I suggest you upgrade to the newest 8.9.1 - it has better timings and much more debugging information. It also has a fix for performance of extended variants rendering in lists.

  1. Do you have any custom template extenders or notifications on your site?
  2. Can I see your product list and product detail templates?

BR Nicolai

 

You must be logged in to post in the forum