We're having some performance problems on a site which is about to go into production. I've been using the MVC Mini Profiler and have come up with the following trace...
I've highlighted the line I'm concerned about in bold...
It looks as though it's taking nearly a second to find the cshtml file!? I've tried commenting out the call to RenderMacro and it looks like the next macro to render then causes a delay.
Is there some overhead involved in finding the MacroPartial cshtml files first time through each page? Strangely, turning on macro caching doesn't appear to remove this delay.
We're running Umbraco v6.1.6.
I'm getting pretty desperate on this one - any help would be really appreciated!
RenderMacro Performance Problems - Please Help!
Hi,
We're having some performance problems on a site which is about to go into production. I've been using the MVC Mini Profiler and have come up with the following trace...
I've highlighted the line I'm concerned about in bold...
It looks as though it's taking nearly a second to find the cshtml file!? I've tried commenting out the call to RenderMacro and it looks like the next macro to render then causes a delay.
Is there some overhead involved in finding the MacroPartial cshtml files first time through each page? Strangely, turning on macro caching doesn't appear to remove this delay.
We're running Umbraco v6.1.6.
I'm getting pretty desperate on this one - any help would be really appreciated!
Thanks,
- Chris
Did you ever figure out why this is?
I'm facing the same issue with an Umbraco 6.1.6 setup where it takes several seconds to find a view.
I'm pretty sure I did... but I can't remember how!
I'm now facing the same problem on another project. So - if I work it out again, I'll let you know!
is working on a reply...