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.
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).
I have not tested myself the Miniprofiler with Umbraco 4.9, but here are few things you can check:
Is the EnableMiniProfiler set to true?
Did you change the macro from <macro:Macro Alias="Navigation" runat="server" /> to <profiler:Macro Alias="Navigation" runat="server" />? Bare in mind that if the macro it's been loaded in less than 2ms, it will be hidden from the list. Click "show trivial" if you want to see the content anyway
If you want to profile the sql as well, are you using MS SQL and and the EnableSqlMiniProfiler set to true?
I noticed you added <profiler:Renderer runat="server" UseExistingjQuery="true" />. Is jquery set in the page before the control? (See this example)
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.
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:
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
Hi Jeroen,
I have not tested myself the Miniprofiler with Umbraco 4.9, but here are few things you can check:
Is the EnableMiniProfiler set to true?
Did you change the macro from <macro:Macro Alias="Navigation" runat="server" /> to <profiler:Macro Alias="Navigation" runat="server" />? Bare in mind that if the macro it's been loaded in less than 2ms, it will be hidden from the list. Click "show trivial" if you want to see the content anyway
If you want to profile the sql as well, are you using MS SQL and and the EnableSqlMiniProfiler set to true?
I noticed you added <profiler:Renderer runat="server" UseExistingjQuery="true" />. Is jquery set in the page before the control? (See this example)
The MiniProfiler also relies on http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ so you must make sure jquery is there
Hope this helps,
J
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
Hi Jeroen,
If you want to change the min time you probably need to get the source code and change MiniProfilerPackage.cs and add
I'm not aware of a timeout setting for the miniprofiler.
J
is working on a reply...