Safari wrote:There's a performance problem in NoScript 1.1.4.5.061030 and/or Firefox 1.5.0.7-6.fc6 (Fedora IA-32).
Adding or removing a domain takes 25s of CPU time. 25s does not include reloading the page.
Also, opening Options menu takes the same amount of time.
If you need to ask how many domains I have in the config file or how slow CPU I have, that's good.
It means that you have admitted modifying list of domains is O(n) operation.
When NoScript checks is domain allowed to use Javascript, is that O(n), too?
I have had this problem for a while. It is due to the number of sites on the whitelist. It has got to the point that it is almost unusable.
I now have 961 sites on the whitelist, and now allowing or forbiding a site causes the 'script not responding' message.
I have previously increased the value in about:config of dom. max_script_run_time to 8, which prevented the 'script not responding' message for a while, but now the whitelist has grown again the 'script not responding' is back.
I have just deleted all sites from the whitelist (after backing up) and after taking several minutes to delete them it responds quickly now, but I do need to use the existing whitelist.
I am using firefox 2.0, but was the same in 1.5.0.7. My processor is an Athlon XP 2600+.