ASP.NET MVC Performance

后端 未结 14 1216
花落未央
花落未央 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:36

    The projects created with visual studio. One is mvc4 template, another is WebForm (tranditional). And when make load test with WCAT, this is the result,

    MVC4 is quite slow than WebForms, any ideas?

    enter image description here

    MVC4

    • could get about 11 rps
    • rps is quite low both 2-cpu or 4-cpu server

    enter image description here

    WebForms (aspx)

    • could get above 2500 rps

    • the performance killer has been found that it's a bug of MVC Bata or RC. And The performance would be improved once i remove Bundles things. Now the latest version fixed this.

提交回复
热议问题