[Mono-devel-list] System.Reflection Performance

Peter Williams peter at newton.cx
Fri Jan 2 01:37:31 EST 2004


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.

(Sending this via the list because sf.net won't accept mail from my
address.)

Peter

-- 
Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power




More information about the Mono-devel-list mailing list