RFE: profiling extension startup w Venkman

neandr <neandrNo_@SPAM_gmx.de> Wed, 04 May 2011 13:47:53 +0200
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
On 04.05.2011 12:59, Philip Chee wrote:
> On Wed, 04 May 2011 12:11:27 +0200, neandr wrote:
>
>> ----------------------
>> :~$ /var/mozilla/seamonkey20/seamonkey  -P default -no-remote
>> -purgecaches -console2 -venkman -silent
>> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110420
>> SeaMonkey/2.0.14
>>
>> As you can see I'm on Linux (Ubuntu 10.10) with all updates.
>> Venkman is installed with both apps:
>> javascript_debugger-0.9.88.1-fx+tb+sm.xpi
>>
>> With the TB start you see there is an error on the console saying the
>> -purgecaches isn't known.
>>
>> Will try to find the VK nightly in the hope it will help.
>
> -purgecaches is new in Gecko 2.0 (Thunderbird 3.3, SeaMonkey 2.1) but
> the other stuff -console2 -venkman should work. I use that all the time.
>
> Phil
>
OK, with -purgecaches .. I understand.
But the rest isn't as I expect, maybe my expectations are wrong?
Here is what I need to achieve:
Due to the Mozilla initiative to reduce the extension's startup time I'm =

looking for tools to identify the big chunks.
Venkman helps in the past for optimizing so I thought to use it also for =

the startup. But the "Profile" feature AFAIK works only with activation =

using the toolbar button. To late for this.

So the goal is to start FX/TB/SM with Venkman, BUT with the 'Profile' =

enable.
Another obstacle seems to me the change Mozilla made to Venkman, see =

here: http://www.gijsk.com/blog/2010/08/venkman-0-9-88-1/
That modification seems to be contraproductive with my request to =

analyze the startup process.

I also had problems loading the extension code, also using
/startup-init true

Hope the authors of Venkman can help here. Think this all is a
*RFE* .. *a request for a real development need*.

Thanks for listening
G=FCnter