I have an application that generates temporary XULRunner apps by building a skeleton application folder structure, and then launching it with:
xulrunner -app /path/to/temporary/application.ini
This all works, but it takes an unacceptable amount of time for the application to actually load. I have isolated the time-sink to xulrunner generating/working with profile information.
I have tried adding -profile /path/to/static/folder
and -profile /path/to/temporary/folder
but each still has a very long delay (30 - 60 seconds, on a fast computer). I have also added -no-remote
but with no effect.
When the application launches, I can watch the profile folder slowly fill with files, and once all the files are there, the gui comes up fairly quickly. Unfortunately this time does not seem to disappear when using a static folder for the profiles (it might be regenerating some of the files?).
So my question is, is it possible to completely disable xulrunner's profile management? Is there anything else I could do to increase the loading speed?