Page 2 of 3
Re: 'Options' menu opens very slowly
Posted: Thu Dec 16, 2010 9:52 pm
by ankir
therube wrote:And no one has noticed this before now. Strange.)
people rather rarely change more or less stable settings. and some things are easy
to be done from the context (right-click) menu, which opens quickly and is very
convenient. This may be an explanation...
Re: 'Options' menu opens very slowly
Posted: Thu Dec 16, 2010 11:56 pm
by therube
Now on a faster computer, Intel i5-750 & 4GB ram, Win7 x86, & I'm not seeing it - or at least it isn't very perceptible.
(Still testing on SeaMonkey 2.0.11 regardless of what this post may show.)
Re: 'Options' menu opens very slowly
Posted: Wed Dec 22, 2010 1:16 am
by therube
Now on a faster computer, Intel i5-750 & 4GB ram, Win7 x86, & I'm not seeing it - or at least it isn't very perceptible.
That was then, now is now.
Same computer, SeaMonkey 2.0.12pre. NoScript 2.0.9rc2. SeaMonkey must have been open since the 18th or so.
At this moment, Options menu opens very slowly. Clicking various tabs in Options is delayed, not crisp.
Re: 'Options' menu opens very slowly
Posted: Wed Dec 22, 2010 2:21 am
by therube
A process injected into the browsers address space?
Re: 'Options' menu opens very slowly
Posted: Wed Dec 22, 2010 8:58 am
by Giorgio Maone
Do the browser's own options dialog perform OK, when this happens?
Re: 'Options' menu opens very slowly
Posted: Wed Dec 22, 2010 3:50 pm
by therube
Yes.
And ABP & all other extensions too.
Don't quote me, but on my faster computer, a different Profile did not exhibit the same slowness. (Two out of 3 Profiles did.)
On my slower computers, all Profiles show Options menu opening very slowly.
Yesterday I saw various (Windows, "IE" related processes in the SeaMonkey address space <Windows 7>) & that made me think of the process angle. (In the past, certain versions of McAfee SiteAdvisor injected itself into Mozilla, raising havoc.)
Edit:
NeilAway stated that "the file open common dialog pulls in a wodge of DLLs, such as iertutil.dll". I know that XXX (i put the name in there once i remember it - that mult-language do-dad that gets run by default with Office, & later versions of IE - at least in XP) has been known to cause problems, but I do not have that running.)
Re: 'Options' menu opens very slowly
Posted: Wed Dec 22, 2010 4:57 pm
by therube
> i'll put the name in there once i remember it
CTFMON.EXE
Problem: Delayed View and Delete Operations
Re: 'Options' menu opens very slowly
Posted: Thu Dec 23, 2010 5:50 pm
by therube
A slow video. Note that even the Cancel button is slow to close the window.
Re: 'Options' menu opens very slowly
Posted: Thu Dec 23, 2010 6:20 pm
by Giorgio Maone
therube wrote:A slow video. Note that even the Cancel button is slow to close the window.
The Cancel button executes absolutely no code from NoScript.
If that's slow as well, the culprit is likely elsewhere.
How the RAM and CPU usage looks like before opening the dialog, while it stays opened, and after closing it?
Re: 'Options' menu opens very slowly
Posted: Fri Dec 24, 2010 3:08 am
by therube
i5-750, 4GB ram.
Note that this is the same computer, Profile, browser where the issue was not apparent the other day,
http://forums.informaction.com/viewtopi ... 078#p24078. Also reverting back to NoScript 1.9.x alleviates the problem.
High CPU (25% = 1 core), relatively long duration.
Initially opened from Session Restore.
Then things settled down. Then I opened, closed NoScript Options a few times, waiting a bit between open/close.
Imagine I'll see similar results on an E4300, 2GB ram, & a newly opened browser, clean Profile, about:blank, & only NoScript installed. (The video above was from this computer. Don't remember what else may have been open at the time, though it was with clean Profile & only NoScript.)
(View Image, for full size)

Re: 'Options' menu opens very slowly
Posted: Fri Dec 24, 2010 5:57 am
by therube
Both SeaMonkey 2.0.x & FF 3.5.16 (both gecko 1.9.1) display the same symptoms with NoScript > 2.0.
Both work fine with NoScript <= 1.9.9.99.
Neither SeaMonkey 2.1.x (gecko 2.x) nor FF 3.6.13 (gecko 1.9.2) exhibit the problem.
(There was no SeaMonkey gecko 1.9.2 release.)
Re: 'Options' menu opens very slowly
Posted: Fri Dec 24, 2010 11:13 am
by Giorgio Maone
I tried to collect some profiling data following your steps on Fx 3.5.16, but the longest task observed was the noscriptOptions::nsopts.init(), which took 63ms when fastest and 104ms when slowest, and no "slowness" was humanely perceivable anyway.
Could you use the JavaScript Debugger (Venkman) (which IIRC should be built-in in SeaMonkey),
Profile|Collect profile Data, open/close the dialog 3 or 4 times, then saving the collected data and send me them?
Thanks.
Re: 'Options' menu opens very slowly
Posted: Fri Dec 24, 2010 11:16 am
by Giorgio Maone
Also, wild guess: does disabling
automatic WAN IP detection help?
Re: 'Options' menu opens very slowly
Posted: Fri Dec 24, 2010 4:01 pm
by therube
> does disabling automatic WAN IP detection help?
No.
Don't really know what I'm doing, but ...
Second attempt here,
http://therube.pastebin.com/kQiJZsPA & the first:
Code: Select all
Venkman Profile Report
Created .......... Fri Dec 24 2010 10:23:15 GMT-0500 (Eastern Standard Time)
User Agent ....... Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11
Debugger Version . Venkman 0.9.87.4 [Mozilla rv:1.9.1.16/2]
Sorted By ........ total
=================================================================================
0 <chrome://global/content/bindings/button.xml>
button.xml: 0.06 - 0.25 milliseconds
Function Name: onxblclick (Lines 140 - 141)
Total Calls: 1 (max recurse 0)
Total Time: 0.06 (min/max/avg 0.06/0.06/0.06)
Time (ex. calls): 0.06 (min/max/avg 0.06/0.06/0.06)
-------------------------------------------------------------------------------
=================================================================================
1 <chrome://global/content/bindings/dialog.xml>
dialog.xml: 7.5 - 10 milliseconds
Function Name: __toplevel__ (Lines 130 - 142)
Total Calls: 3 (max recurse 0)
Total Time: 9.05 (min/max/avg 3/3.04/3.02)
Time (ex. calls): 9.04 (min/max/avg 3/3.04/3.01)
-------------------------------------------------------------------------------
=================================================================================
2 <chrome://global/content/bindings/listbox.xml>
listbox.xml: 5 - 7.5 milliseconds
Function Name: __toplevel__ (Lines 714 - 722)
Total Calls: 6 (max recurse 0)
Total Time: 5.04 (min/max/avg 0.36/1.34/0.84)
Time (ex. calls): 5.04 (min/max/avg 0.36/1.34/0.84)
-------------------------------------------------------------------------------
=================================================================================
3 <chrome://global/content/bindings/menulist.xml>
menulist.xml: 2.5 - 5 milliseconds
Function Name: __toplevel__ (Lines 62 - 65)
Total Calls: 6 (max recurse 0)
Total Time: 3.92 (min/max/avg 0.43/0.88/0.65)
Time (ex. calls): 3.92 (min/max/avg 0.43/0.88/0.65)
-------------------------------------------------------------------------------
=================================================================================
4 <chrome://global/content/bindings/menulist.xml>
menulist.xml: 1 - 2.5 milliseconds
Function Name: __toplevel__ (Lines 391 - 403)
Total Calls: 6 (max recurse 0)
Total Time: 1.05 (min/max/avg 0/0.36/0.18)
Time (ex. calls): 1.05 (min/max/avg 0/0.36/0.18)
-------------------------------------------------------------------------------
=================================================================================
5 <chrome://global/content/bindings/numberbox.xml>
numberbox.xml: 5 - 7.5 milliseconds
Function Name: __toplevel__ (Lines 237 - 247)
Total Calls: 3 (max recurse 0)
Total Time: 6.74 (min/max/avg 2.2/2.3/2.25)
Time (ex. calls): 6.74 (min/max/avg 2.2/2.3/2.25)
-------------------------------------------------------------------------------
=================================================================================
6 <chrome://global/content/bindings/popup.xml>
popup.xml: 0.05 - 0.25 milliseconds
Function Name: onxblmouseout (Lines 307 - 334)
Total Calls: 1 (max recurse 0)
Total Time: 0.05 (min/max/avg 0.05/0.05/0.05)
Time (ex. calls): 0.05 (min/max/avg 0.05/0.05/0.05)
Function Name: onxblmouseover (Lines 289 - 305)
Total Calls: 1 (max recurse 0)
Total Time: 0.01 (min/max/avg 0.01/0.01/0.01)
Time (ex. calls): 0.01 (min/max/avg 0.01/0.01/0.01)
-------------------------------------------------------------------------------
=================================================================================
7 <chrome://global/content/bindings/radio.xml>
radio.xml: 2.5 - 5 milliseconds
Function Name: __toplevel__ (Lines 14 - 33)
Total Calls: 6 (max recurse 0)
Total Time: 3.82 (min/max/avg 0.59/0.7/0.64)
Time (ex. calls): 3.82 (min/max/avg 0.59/0.7/0.64)
-------------------------------------------------------------------------------
=================================================================================
8 <chrome://global/content/bindings/radio.xml>
radio.xml: 0.25 - 0.5 milliseconds
Function Name: __toplevel__ (Lines 445 - 451)
Total Calls: 18 (max recurse 0)
Total Time: 0.38 (min/max/avg 0.02/0.03/0.02)
Time (ex. calls): 0.38 (min/max/avg 0.02/0.03/0.02)
-------------------------------------------------------------------------------
=================================================================================
9 <chrome://global/content/bindings/tabbox.xml>
tabbox.xml: 5 - 7.5 milliseconds
Function Name: __toplevel__ (Lines 220 - 227)
Total Calls: 9 (max recurse 0)
Total Time: 5.83 (min/max/avg 0.3/1.28/0.65)
Time (ex. calls): 5.83 (min/max/avg 0.3/1.28/0.65)
-------------------------------------------------------------------------------
=================================================================================
10 <chrome://global/content/bindings/textbox.xml>
textbox.xml: 10 - 25 milliseconds
Function Name: __toplevel__ (Lines 207 - 220)
Total Calls: 48 (max recurse 0)
Total Time: 23.32 (min/max/avg 0.37/1.03/0.49)
Time (ex. calls): 23.32 (min/max/avg 0.37/1.03/0.49)
-------------------------------------------------------------------------------
=================================================================================
11 <chrome://noscript/content/iaUI.js>
iaUI.js: 0.25 - 0.5 milliseconds
Function Name: __toplevel__ (Lines 1 - 195)
Total Calls: 3 (max recurse 0)
Total Time: 0.34 (min/max/avg 0.1/0.13/0.11)
Time (ex. calls): 0.34 (min/max/avg 0.1/0.13/0.11)
-------------------------------------------------------------------------------
=================================================================================
12 <chrome://noscript/content/noscript.js>
noscript.js: 0.18 - 0.25 milliseconds
Function Name: __toplevel__ (Lines 1 - 143)
Total Calls: 3 (max recurse 0)
Total Time: 0.18 (min/max/avg 0.06/0.06/0.06)
Time (ex. calls): 0.18 (min/max/avg 0.06/0.06/0.06)
-------------------------------------------------------------------------------
=================================================================================
13 <chrome://noscript/content/noscriptOptions.js>
noscriptOptions.js: 1 - 2.5 milliseconds
Function Name: __toplevel__ (Lines 1 - 928)
Total Calls: 3 (max recurse 0)
Total Time: 1.56 (min/max/avg 0.5/0.54/0.52)
Time (ex. calls): 1.55 (min/max/avg 0.5/0.54/0.52)
-------------------------------------------------------------------------------
=================================================================================
14 <chrome://venkman/content/venkman.xul>
venkman.xul: 0.25 - 0.5 milliseconds
Function Name: oncommand (Lines 1 - 2)
Total Calls: 1 (max recurse 0)
Total Time: 0.33 (min/max/avg 0.33/0.33/0.33)
Time (ex. calls): 0.33 (min/max/avg 0.33/0.33/0.33)
-------------------------------------------------------------------------------
=================================================================================
15 <file:/C:/WLIB/Mozilla/SeaMonkey/components/nsLoginManager.js>
nsLoginManager.js: 0.04 - 0.25 milliseconds
Function Name: anonymous (Lines 310 - 341)
Total Calls: 6 (max recurse 0)
Total Time: 0.04 (min/max/avg 0.01/0.01/0.01)
Time (ex. calls): 0.04 (min/max/avg 0.01/0.01/0.01)
-------------------------------------------------------------------------------
=================================================================================
16 <file:/C:/WLIB/Mozilla/SeaMonkey/components/nsSessionStore.js>
nsSessionStore.js: 0.25 - 0.5 milliseconds
Function Name: anonymous (Lines 297 - 300)
Total Calls: 3 (max recurse 0)
Total Time: 0.39 (min/max/avg 0.13/0.13/0.13)
Time (ex. calls): 0.25 (min/max/avg 0.08/0.09/0.08)
Function Name: sss_observe (Lines 291 - 384)
Total Calls: 6 (max recurse 0)
Total Time: 0.29 (min/max/avg 0.05/0.05/0.05)
Time (ex. calls): 0.17 (min/max/avg 0.01/0.05/0.03)
-------------------------------------------------------------------------------
nsSessionStore.js: 0.14 - 0.25 milliseconds
Function Name: sss_onLoad (Lines 434 - 522)
Total Calls: 3 (max recurse 0)
Total Time: 0.14 (min/max/avg 0.05/0.05/0.05)
Time (ex. calls): 0.14 (min/max/avg 0.05/0.05/0.05)
Function Name: sss_onClose (Lines 531 - 591)
Total Calls: 3 (max recurse 0)
Total Time: 0.12 (min/max/avg 0.04/0.04/0.04)
Time (ex. calls): 0.05 (min/max/avg 0.02/0.02/0.02)
Function Name: sss_isWindowLoaded (Lines 2592 - 2594)
Total Calls: 3 (max recurse 0)
Total Time: 0.07 (min/max/avg 0.02/0.02/0.02)
Time (ex. calls): 0.07 (min/max/avg 0.02/0.02/0.02)
-------------------------------------------------------------------------------
=================================================================================
17 <file:/C:/WLIB/Mozilla/SeaMonkey/components/nsTypeAheadFind.js>
nsTypeAheadFind.js: 0.5 - 0.75 milliseconds
Function Name: anonymous (Lines 115 - 157)
Total Calls: 6 (max recurse 0)
Total Time: 0.56 (min/max/avg 0/0.19/0.09)
Time (ex. calls): 0.5 (min/max/avg 0/0.17/0.08)
-------------------------------------------------------------------------------
nsTypeAheadFind.js: 0.02 - 0.25 milliseconds
Function Name: findTypeController (Lines 44 - 48)
Total Calls: 3 (max recurse 0)
Total Time: 0.02 (min/max/avg 0.01/0.01/0.01)
Time (ex. calls): 0.02 (min/max/avg 0.01/0.01/0.01)
-------------------------------------------------------------------------------
=================================================================================
18 <file:/C:/WLIB/Mozilla/SeaMonkey/modules/XPCOMUtils.jsm>
XPCOMUtils.jsm: 0.5 - 0.75 milliseconds
Function Name: XPCOMUtils_QueryInterface (Lines 257 - 266)
Total Calls: 15 (max recurse 0)
Total Time: 0.61 (min/max/avg 0.01/0.12/0.04)
Time (ex. calls): 0.61 (min/max/avg 0.01/0.12/0.04)
-------------------------------------------------------------------------------
=================================================================================
Thanks for using Venkman, the Mozilla JavaScript Debugger.
<http://www.mozilla.org/projects/venkman>
Re: 'Options' menu opens very slowly
Posted: Fri Dec 24, 2010 9:05 pm
by therube
Windows Safe Mode w/Networking, new Profile, install NoScript == Options delay.