ASP.NET MVC Performance

后端 未结 14 959
花落未央
花落未央 2020-11-29 17:10

I found some wild remarks that ASP.NET MVC is 30x faster than ASP.NET WebForms. What real performance difference is there, has this been measured and what are the performanc

相关标签:
14条回答
  • 2020-11-29 17:57

    We haven't performed the type of scalability and perf tests necessary to come up with any conclusions. I think ScottGu may have been discussing potential perf targets. As we move towards Beta and RTM, we will internally be doing more perf testing. However, I'm not sure what our policy is on publishing results of perf tests.

    In any case, any such tests really need to consider real world applications...

    0 讨论(0)
  • 2020-11-29 17:58

    enter image description here

    I did a small VSTS load test experiment with some basic code and found ASP.NET MVC response time to be twice faster as compared to ASP.NET Webforms. Above is the attached graph with the plot.

    You can read this load test experiment in details from this CP article https://www.codeproject.com/Articles/864950/ASP-NET-MVC-vs-ASP-NET-WebForm-performance-compari

    Test was conducted with the below specifications using VSTS and telerik load test software:-

    User load 25 users.

    Run duration of test was 10 minutes.

    Machine config DELL 8 GB Ram, Core i3

    Project was hosted in IIS 8.

    Project was created using MVC 5.

    Network LAN connection was assumed. So this test does not account for network lag for now.

    Browser in the test selected Chrome and Internet explorer.

    Multiple reading where taken during the test to average unknown events. 7 readings where taken and all readings are published in this article as reading 1 , 2 and so on.

    0 讨论(0)
提交回复
热议问题