Other performance tools also help you improve execution times of your programs, these include:
Pre-compiled code. ASP is not compiled. It is interpretted every time you request the page. In ASP.NET the first time the program is run the JIT (Just In Time) compiler will compile the program. After that when the program is executed is will run the compiled version which is a lot faster will be executed instead. (It will also be compiled by JIT if the original source has been modified since it was last compiled).
Caching services. Every time you request a ASP page all elements are processed again even if they havent changed. With ASP.NET you can use things like Data Caching to speed up execution. Say you had an application that listed all employees in a table (datagrid), this data will rarely change so there is no need to connect to the database server everytime and ask for a list of employees. data caching works similar to this:
- Your code checks if the employees data has already been cached.
- If the employees data has not been cached you request the data from your database then cache it using a method similar to Session(). You can also set a time for it to expire.
- If the employees data has already been cached you can load all the data direct from the memory - saving a trip to the database.
- Display either the cached DataSet (similar in some ways to a recordset) or the DataSet direct from the sever in your table (datagrid).
Also ASP.NET speeds up development time LOADS.
I remember the days when I had to Response.Write() table's, columns and rows. Now all I do is drag and drop a datagrid, change the style and headers and write some simle logic that fills the datagrid with my data.
You really cannot compare ASP and ASP.NET IMHO