> Can you be specific about where the time is being spent? Loading libraries
> can be expensive no matter what. Is it possible that the delay is just more
> noticable to you because rather than taking the hit at startup (the dynamic
> loader links the libraries before calling main()) the load happens during
> execution of your program where it's more apparent?

I'm using a low power ppc cpu and it spends 6seconds in
XPCOMGlueStartup. With FF2 libs , my web page comes up in 13s, with
xulrunner-1.9 my web page comes up in 22s.

Reading this page
http://developer.mozilla.org/en/XPCOM_Glue
I would have think that there was a way to start my browser quicker
without having to call XPCOMGlueStartup/GTKEmbedGlueStartup. It was
what I understood according to the following text:
"Embedding code which wishes to use only frozen symbols and cannot
tolerate a load-time dependency on xpcom.dll should #define XPCOM_GLUE
1 while compiling, and link against xpcomglue.lib. It should not link
against xpcomglue_s.lib or xpcom.lib."

Can you shed me some lights about the mysterious word "cannot tolerate
a load-time dependency on xpcom.dll " and on how to speed up the start
of my browser ?

Thanks for your time

        Patrice

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to