Performance pregen at compile time OB Policies

Topics: CAB & Smart Client Software Factory
Jun 2, 2006 at 8:15 AM
originally posted by: m_a_madero

I recently posted a question on the MCSF around performance in CAB (, I'm posting again here because I feel this is a subject that concerns CAB and not only MCSF (The CAB's Message Board is not working now).

I feel all that reflection is impacting the performance of the app and I got the suggestion of pre-generating at compile time the OB Policies, but dont have any clue about how to do this.

Any idea?

Thanks in advance.
Jul 25, 2006 at 11:39 AM
originally posted by: JKraft4PIT

I think this could be helpful, I am just starting to look into improving performance now that I have everything working together.
Sep 2, 2006 at 1:10 PM
originally posted by: taytay

I am dying for something like this. All of the reflection is killing our startup perf. In our single module app, with a load time of about 12 seconds, 3 seconds alone is spent in System.Reflection.RuntimeMethodInfo.CacheEquals(Object) because of all of the GetMethod calls and GetMember calls. I would really like to avoid a lot of this if possible. Does anyone know of ways/tricks to speed up the CAB?
Sep 8, 2006 at 1:02 AM
originally posted by: nbenin

You should take a look at the following message from Eugenio Pace, in which he writes about ObGen and CabGen:
Sep 8, 2006 at 3:53 AM
originally posted by: taytay

Thank you so much nbenin! That post is EXACTLY what I'm looking for. I can't wait to download it and give it a go!