ASP.NET MVC view engine performance

I'm developing high load solution with final version of asp.net mvc. Recently our team noticed, that most of the time that takes a server to response to client is devoted to page rendering. Simple time-schedule looks like this:

Page start - 1.8608363s Render module 1140/Modules/Owners start - 1.86859s Render module 1140/Modules/Owners Complete - 1.9081751s Render module 829/Modules/Links start - 1.9081788s Render module 829/Modules/Links Complete - 2.3380648s Render module 1036/Modules/Advertisement start - 2.3459101s Render module 1036/Modules/Advertisement Complete - 2.3482298s Render module 1110/Modules/Goodies start - 2.3482322s Render module 1110/Modules/Goodies Complete - 2.6300744s Render module 1004/Modules/TopicLinks start - 2.6300784s Render module 1004/Modules/TopicLinks Complete - 3.8852529s Render module 1048/Modules/News start - 3.8927697s Render module 1048/Modules/News Complete - 4.4958795s Render module 1128/Modules/SuggestedLinks start - 4.4958832s Render module 1128/Modules/SuggestedLinks Complete - 4.5704227s Page end - 4.5711193s TopicMainMenuPages start - 4.5717661s TopicMainMenuPages End - 4.571974s Render Finished - 4.6185852s

What could be a reason for such a slow rendering? Is that for oftentimes using of partial render during single request?


Make sure the compilation debug="false" in your web.config and build your application in Release mode. This will allow the MVC framework to cache the paths that it resolves for your partial views.

See the article here for more info.




  • Handling a bubbling event raised from a modal dialog in main window
  • Class Based Views (CBV), CreateView and request.user with a many-to-many relation
  • How to create a MySql database using shell_exec php?
  • How can I delete a user from sql server 2012 who owns a schema
  • Wait for angular to finish updating the DOM
  • Redirect to trailng slash (htaccess)
  • replacing while loop with list comprehension
  • Calling C function from lua
  • How to add javascript in a prestashop module
  • Can't resolve 'jquery' with typescript
  • Using SWIG with a build system [closed]
  • Print character to a certain point on console in Python?
  • How do you keep a running instance for Google App Engine
  • what is the purpose of “export as namespace foo”?
  • py4j.protocol.Py4JJavaError when selecting nested column in dataframe using select statetment
  • Python 3.2.2, error(scripts to exe)
  • python mysqldb delete row
  • Why are YouTube videos using 'youtube.com/v' not loading
  • Magento get URL before current
  • import scipy.sparse failed
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • Prevent Tomcat from caching request during starup
  • Autofac with Web API 2 - Parameter-less constructor error
  • pillow imaging ImportError
  • How do I signal completion of my dataflow?
  • Authentication in Play! and RestEasy
  • How to use JavaScript to determine whether a file exists in a directory?
  • Django simple Captcha “No module named fields” error
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • Is there a perl module to validate passwords stored in “{crypt}hashedpassword” “{ssha}hashedpassword
  • Meteor helpers not available in Angular template
  • htaccess rewriting URLs with multiple forward slashes
  • Display Images one by one with next and previous functionality
  • Web-crawler for facebook in python
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • A cron job substitute?
  • python regex in pyparsing
  • using HTMLImports.whenReady not working in chrome
  • Android Google Maps API OnLocationChanged only called once
  • How can I use threading to 'tick' a timer to be accessed by other threads?