简体   繁体   中英

MVC FindView Time

I created my first Web App with MVC 4.0 and I just started using mini-profiler to get some basic information. FindView seems to range from 300 to 600ms depending on page, this seems rather high to me but I don't really know what I should be expecting.

Are there basic things I can do to improve the findview performance?

In release mode views are cached, so you should see those times far lower that what you're seeing now.

Running it in debug mode might give you results similar to what you're finding.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM