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 5x admin c-trib
    Oct 23, 2012 @ 16:33
    Jeroen Breuer

    No macro information in MiniProfiler


    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 file.

    Here is my masterpage:

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

    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 Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Oct 23, 2012 @ 17:03
    Jeroen Breuer

    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.


Please Sign in or register to post replies

Write your reply to: