[Mono-devel-list] System.Reflection Performance

Ravi Pratap M ravi at ximian.com
Fri Jan 2 08:45:51 EST 2004

Hi Peter, Ben

On Fri, 2004-01-02 at 00:37, Peter Williams wrote:
> Hi Ben,
> On Fri, 2004-01-02 at 00:29, Ben Maurer wrote:
> > Hello,
> > 
> > Today I was doing performance testing and noticed that some reflection
> > operations were taking alot longer than I thought they would. So, I
> > decided to profile. My origional issue was with MethodBase.Invoke. I
> > wrote the following test:
> No input on your question, but I wanted to ask -- I've seen you
> committing optimizations left and right in MCS. Do you have a list
> somewhere of easy general techniques for optimizing C# programs? I know
> that personally, at least, I don't have a very good sense for what kinds
> of practices are especially efficient or inefficient. It seems like it'd
> be valuable to write up some kind of document with pointers.

	I completely agree with this. I know for a fact that Miguel, Ben and
even Zoltan committed many different optimizations to MCS to make it as
fast as it is today. 

	I think we should write up a document from inputs from these three (and
others) so that others don't have to rediscover them :-)


More information about the Mono-devel-list mailing list