I'm very interested in the code for the following partial
RazorView.Render: ~/Views/Partials/Roo... which takes 8218.8 and is a sub partial of a parent partial.
This would return a specific imagedirectory matching the current room being iterated in the RoomOverviewPage.cshtml
When editing the above code to return NULL, the entire site worked smooth as butter..
Extreme CPU usage findview
Hi there,
we're using Umbraco 7.4.3 for a website we created.
Its a website where Rooms (for rent) are shown. The homepage consists of a NewestRoom, and ofcourse there is a overviewpage with paging.
These pages are incredibly slow when visited and we see major CPU spikes on the server at the same time.
At first we thought it was the TypedMediaAtRoot() function causing a major delay. We disabled that and the website ran smooth as butter (for a day)
Only this morning the problems were back again, bigger even.
Am I interpreting this screenshot right? The FindPartialView function is taking major load time? Or could it be a function inside of that partial?
We're currently quite out of options on this... Tips?
Minor update, overviewpage finally loaded, showed a slightly different delay..
Hi Ambert,
Can you post the code in the view and controller if you are using that. To me it seems like a performance botlleneck in your code.
Dave
Hi Ambert,
I'm very interested in the code for the following partial
RazorView.Render: ~/Views/Partials/Roo...
which takes 8218.8 and is a sub partial of a parent partial.Perhaps you can post both?
The probably cause was the following piece of code:
specifically the "TypedMediaAtRoot".
This would return a specific imagedirectory matching the current room being iterated in the RoomOverviewPage.cshtml When editing the above code to return NULL, the entire site worked smooth as butter..
RoomOverviewPage.cshtml
RoomOverview.cshtml
is working on a reply...