Re: RFE: profiling extension startup w Venkman

Arivald <arivald_@AT_interia_DOT_pl.mozilla.org> Wed, 04 May 2011 14:20:05 +0200
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
W dniu 2011-05-04 13:47, neandr pisze:
> 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:
[...]

I think no extension like Venkman can help You. Simply, they are fully 
functional too late, after extensions startup.

Instead check this page:
https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements

in "Measurement & Testing Projects" section there are bug numbers to 
some projects... especially bug 522375 - built-in startup measurement. 
Bug is against Toolkit, so new nightly TB binaries may have it already.

Also "Tips, Tools" section may be useful.

-- 
Arivald