PDA

View Full Version : [CLOSED] How to reduce compile time of Ext.Net



advBackOffice
May 01, 2013, 4:22 PM
Hello Support,

We have been facing a compilation issue in Asp.Net MVC .

We have a very simple MVC view having few ext.net controls and the compilation time and result execution time is quite higher. It takes almost 3-5 seconds each time for generation of the result (ext javascript and other html).

The return size of html is 61kb and takes 5seconds for compilation (we logged in MVC action filters) this does not include any database operation.

This elapsed time is just for returning the page html and then after it starts the database part.


So please let us know how can we reduce that time.


Manoj

geoffrey.mcgill
May 01, 2013, 4:29 PM
Hello,

I this 3-5 seconds for the just the first response?

What is the response time for the same page/view after the first response?

advBackOffice
May 01, 2013, 6:33 PM
onwards it takes around 2 seconds, but that is not consistent, moving around the pages and coming back to same page it takes same time.


Hello,

I this 3-5 seconds for the just the first response?

What is the response time for the same page/view after the first response?

Vladimir
May 01, 2013, 6:37 PM
What engine do you use? Razor or WebForm?
Did you measure the time under debug? Can you mesaure the time in Release mode (without debug)?

Do you have the same issue with online samples (http://mvc.ext.net/#/Form_ComboBox/Ajax_Linked_Combos/) or if run MVC Examples Explorer locally?

advBackOffice
May 02, 2013, 2:46 AM
We are using Asp.Net Normal Engine (aspx) files, that is not webform.



What engine do you use? Razor or WebForm?
Did you measure the time under debug? Can you mesaure the time in Release mode (without debug)?

Do you have the same issue with online samples (http://mvc.ext.net/#/Form_ComboBox/Ajax_Linked_Combos/) or if run MVC Examples Explorer locally?

Daniil
May 02, 2013, 7:57 AM
ASP.NET MVC ASPX View Engine is often called WebForm View Engine.

Please answer these questions as well.



Did you measure the time under debug? Can you mesaure the time in Release mode (without debug)?

Do you have the same issue with online samples (http://mvc.ext.net/#/Form_ComboBox/Ajax_Linked_Combos/) or if run MVC Examples Explorer locally?

advBackOffice
May 02, 2013, 11:34 AM
Yes, we are using aspx webform view engine and that is faster than razor.

Also our build is in Release mode and tested in release mode.



ASP.NET MVC ASPX View Engine is often called WebForm View Engine.

Please answer these questions as well.

Vladimir
May 02, 2013, 12:20 PM
How did you measure the time?
Can you prepare simple test project which demonstrate that time loading? You can send that project to vladimir at ext.net