CAFE

ASP.NET MVC

ASP.NET WebForm 와 MVC 의 성능 비교

작성자심재운|작성시간15.01.14|조회수1,591 목록 댓글 2

 

아래 내용을 보면 webform 과 mvc 에 대한 성능 비교를 하여 제공한 내용인데요.

webform 이 mvc 보다 느린건 당연한듯 싶고, 대량의 화면일 경우에는 2배 이상의 차이가 될듯 싶기도 하네요.

이유는 mvc 경우, 서버 컨트롤이 없어서 이에 대한 랜더링 시간도 많이 소요되지 않고, viewstate 가 없다보니

페이지 용량도 적어 빠르다는 것을 의미하며, life cycle 도 webform 보다는 mvc 가 간결하여 응답속도가

빠른 것을 확인할 수 있다고 합니다. 자세한 내용은 해당 아래 사이트에서 확인해 보시기 바랍니다.

 

 

 

Conclusion of test

Response time

Response time of MVC was much better as compared to Webform. We found ASP.NET MVC response time was two times better than Webforms.

The reason is but obvious when a request is sent to Webforms there is a complex ASP.NET page life cycle which gets executed in the code behind. This code behind is nothing but sort of conversion logic which converts the ASP.NET server controls to HTML.

In ASP.NET MVC there is no code behind and no such conversion is required as the controls are in HTML format themself.

 

 

Content length

For the same kind of logic the HTML content length generatedfrom Webform was twice than MVC.

When we viewed the view source we saw huge view state data generated by Webform which was not present in MVC. This means more bandwidth will be consumed when we surf ASP.NET Webform sites as compared to ASP.NET MVC sites.

 

 

 

 

다음검색
현재 게시글 추가 기능 열기

댓글

댓글 리스트
  • 작성자망고 | 작성시간 15.01.14 성능차가 저리 클줄은 몰랐네요. 역시 공부를 해야겠어요.
  • 답댓글 작성자심재운 작성자 본인 여부 작성자 | 작성시간 15.01.14 화이팅 ㅋ '' 글에 포함된 스티커
댓글 전체보기
맨위로

카페 검색

카페 검색어 입력폼