[Mono-devel-list] System.Reflection Performance

Ben Maurer bmaurer at users.sourceforge.net
Fri Jan 2 12:06:54 EST 2004

Hey duders!

On Fri, 2004-01-02 at 08:45, Ravi Pratap M wrote:
> 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 :-)

I agree, it is very important to get this information known inside the
Mono development community. I see alot of mistakes that come up again
and again, in the BCL and in MCS. We need to be proactive and audit for
slow performance.

More information about the Mono-devel-list mailing list