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 (http://www.gotdotnet.com/codegallery/messageboard/thread.aspx?id=5bef2b5f-476a-488c-8d55-9d41666a36f3&mbid=36c8b5e8-2f1d-4955-81d1-a4fd351de974&threadid=f0c3be47-3022-4628-84f3-0b30263b7333), 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:
http://blogs.msdn.com/eugeniop/archive/2006/08/23/716037.aspx
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!