Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Frans van Ek 11 posts 42 karma points
    May 07, 2015 @ 17:01
    Frans van Ek
    0

    Render slow, more detailed information

    Hi i'v got a 6.4.2. version running. 

    In the debug trace i can see that the render action takes up about 1 sec. this is confirmed by the log4net info

    I really want to know whats the reason for this slow rendering.

    Is there a way to get more detailed info?

    Regards

    Frans

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    May 07, 2015 @ 21:22
    Dennis Aaen
    0

    Hi Fans,

    Do you want to now why your site is render slow in general, then you could try run a speedtest using gtmetrix, http://gtmetrix.com/ then you should get a report with some indications about why your site is renders slow.

    And what you can do to improve this.

    Hope this helps,

    /Dennis

  • Frans van Ek 11 posts 42 karma points
    May 08, 2015 @ 07:51
    Frans van Ek
    0

    @dennis thanks for the reply. 

    this tool measures the rendering of the site based upon the content provided by the server. In the log of umbraco there is also a rendering entry. does this mean it includes the client side rendering as well? i don't think thats possible. So when a logentry on the server has rendering for 1 sec i asume it's the rendering of the page on the server side. I need to know why it's taking up this long... 

    thanks

    Frans

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    May 08, 2015 @ 11:09
    Dennis Aaen
    0

    Hi Frans, 

    I had a talk with one of my collegues and he said that you could try use the MiniProfiler, to see the time of the code, then you maybe get and idea why it is slow

    using(DisposableTimer.DebugDuration<string>("Measuringparsingalgorithm"))
    {
     //A few lines of your code here that you want to time
    }

    Hope this can help you,

    Dennis

  • Frans van Ek 11 posts 42 karma points
    May 08, 2015 @ 15:57
    Frans van Ek
    0

    Hi I managed to get the miniprofiler working... kind of... these are the results...

    any ideas about the reason for this rendering time?

    regards,

    First trace Trace2

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    May 10, 2015 @ 09:39
    Sebastiaan Janssen
    0

    Seems to happen while rendering your macros? Try to remove some of them or put timings in them. Also try removing some things from that template to see if they might be slowing down things.

  • Frans van Ek 11 posts 42 karma points
    May 28, 2015 @ 12:10
    Frans van Ek
    0

    Hi,

    thanks for the reply. I finally found the cause. It was indeed a macro which had a slow codebehind. Unfortunately is was something wich could not be cached due to the dynamic nature...

    thanks for the assistence.

    regards,

Please Sign in or register to post replies

Write your reply to:

Draft