[Mono-devel-list] PROPOSED PATCH: TemplateControlParser caching

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Jan 27 20:22:24 EST 2004


El mié, 28-01-2004 a las 00:20, eric lindvall escribió:
> I was profiling the ASP.NET code and found that the PageParser spent a lot
> of time recreating the same objects and added some caching and found a
> good performance boost.
> 
> Input on this patch is welcome.

Hi Eric!

I've moved that code you sent into AspGenerator.GetCompiledType instead,
since that is the common entry point for pages, user controls, web
services, simple handlers and global.asax compilation.

The speedup is roughly 25%. Good job!

Thanks!

-Gonzalo





More information about the Mono-devel-list mailing list