none
BHO Load Time in IE9 - Dll loaded in Cache?

    질문

  • Hi,

     

    I've developped a BHO/ IE extension working on IE7, IE8 and IE9 for Windows XP, Vista and 7. I began to create the BHO from this excellent article in CodeProject . Since then, I've developped a lot of new functionalities and everything's working great.

    Though, in IE9, the load time is highly random. It's a problem since IE9 shows a window to disable slow extensions if it's over 200ms by default (and I don't want the users to disable mine because of this!).

    I ran some tests and saw that the load time is decreasing every time I launch IE9 with the extension enabled. Most of the time the load time for my BHO is under 100ms, but sometimes (mostly at first install), it's over 200ms and will appear red in IE popup to disable extensions. I did care to create the BHO the best way possible and not to slow user experience. The DLLGetClassObject doesn't contain more code than there initially was in the CodeProject code : I moved everything to take action later, when pages are loaded for exemple.

    Is this happening because IE9 is storing my DLL in cache somewhere to launch it faster after some time? Is there a way to preload the BHO like this, or to enhance the code to decrease load time?

     

    Thank you!

    Valentin

    2011년 2월 4일 금요일 오전 11:19

답변

모든 응답