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

Zoltan Varga vargaz at gmail.com
Fri Apr 1 06:42:42 EST 2005


  The memory management inside ref.emit is not very embedding friendly right
now, i.e. it is highly possible that there are memory leaks so memory usage will
probably increase with each compilation.


On Apr 1, 2005 12:48 AM, Miguel de Icaza <miguel at novell.com> wrote:
> 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

More information about the Mono-devel-list mailing list