[Mono-devel-list] Embedding mcs into ASP.NET.

Miguel de Icaza miguel at novell.com
Thu Mar 31 17:48:21 EST 2005


Hello,

   Today our ASP.NET runtime will start a new process to compile each
page that it hits;  Compiling and loading a new page typically takes
about 1.5 seconds on my computer.

   Thanks to Marek's work to turn the compiler into a reusable compiler,
with the following patch it is possible to run the compiler embedded
into the ASP.NET parser itself.

   This reduces the time to be able to access a modified page by
about .6 seconds;  So it goes from 1.5 to .9 seconds per first page hit
on the first hit, and slightly less for new hits (as the compiler is
loaded in memory already).

   Am personally not sure that the savings are worth the potential
instability that this might cause.

Miguel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcs-embedded.patch
Type: text/x-patch
Size: 7255 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050331/f410abb6/attachment.bin 


More information about the Mono-devel-list mailing list