Copied to clipboard

Flag this post as spam?

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


  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 23, 2012 @ 16:33
    Jeroen Breuer
    0

    No macro information in MiniProfiler

    Hello,

    I've installed the packages and I'm trying to get more info about a macro which is very heavy (page takes a couple of seconds to load). The problem is that I don't see any info about the macro.

    I'm using Umbraco 4.9.0 and I installed the MiniProfiler_for_Umbraco_1.0.0.zip file.

    Here is my masterpage:

    <asp:content ContentPlaceHolderId="BottomContentPlaceholder" runat="server">
      <profiler:Macro Alias="MembersOverview" runat="server" />
      <profiler:Renderer runat="server" UseExistingjQuery="true" />
    </asp:content>

    The macro is a normal macro in the developers section.

    The page shows the profiler results, but the info doesn't display the macro info. The page takes a couple of seconds to load, but I don't see that anywhere either (probably because there is no macro info).

    Any idea what could be wrong?

    Jeroen

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 23, 2012 @ 17:03
    Jeroen Breuer
    0

    Hi Jorge,

    I've set EnableMiniProfiler set to true and changed <umbraco:Macro to <profiler:Macro: 

    jQuery is also on the page because I can see profiler results.

    You say that if the macro is loaded under 2ms it won't be displayed. Is there also a max time? I've checked my macro loading time by adding ?umbDebugShowTrace=true to the querystring and it takes 55 (!) seconds to load the macro (I didn't write it :p). If I remove some code from the macro it loads a lot faster and it does display in the profiler. So it does work and I can see my macro now, but if the loading time it too long it won't be displayed.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft