Runtime environment:
2003Server/ VSTO 2005 Runtime + VSTO2005 Rutime SE / Office2003 + SP1
/ .Net Framework2.0+Framework3.0 / .NET 2 My assembly
My problem is that my word VSTO application with a custom action panel loads
in about 15 seconds!
But DebugView shows that my code finishes after only 6 seconds...Well,the
time between VSTO
automatically generated code this.OnStartup and my ThisDocument_Startup
invoked is about 9s.
What's happened in this 9s? Is that VSTO code load consumed cost?
(Custom property -->Load CLR --> Create AppDomain -- > Download
assembly-->Hook up events -->New / Open event fires )
If so, how can I step up performance?
Have anyone ran into this kind of problem too? Maybe someone has an idea
what to do?
Thanks so much!
Roy Li
China
Bryan Phillips - 14 Mar 2007 02:56 GMT
Try using ngen to see if there is a performance difference and
troubleshoot from there.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> Runtime environment:
>
[quoted text clipped - 22 lines]
> Roy Li
> China