For the past week with the latest Firefox Nightly and noscript dev versions the browser lags, which I've never seen before. Minimizing or un-minimizing a window causes a slight delay that wasn't apparently before.
Another example is the sunspider test, with noscript disabled i get 250ms but with it enabled i get 550ms.
OS is linux, only other addon is adblock plus
thanks
noscript speed regression
noscript speed regression
Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110806 Firefox/8.0a1
Re: noscript speed regression
If you update the the latest #dev, v 2.1.2.6rc6, does it improve (or are you using rc6 already)?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110806 Firefox/6.0 SeaMonkey/2.3
Re: noscript speed regression
yup, was running that version of noscript when i made the post yesterday, tried it again today with noscript 2.1.2.6rc6 and the Aug 7th nightly with the same results.
If theres any other info you need please let me know
If theres any other info you need please let me know
Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110807 Firefox/8.0a1
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript speed regression
Confirmed, that looks like a Nightly-only problem, and not depending by any recent change in NoScript.
Could you try to find a regression window?
Could you try to find a regression window?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript speed regression
OK, I found the following:
- The problem started with the July 29th nightly build
- The problem is not NoScript-specific, but it affects any JavaScript-intensive page where window.watch() is used
- You can work-around by disabling the "ab" surrogate, which uses window.watch on all HTTP pages: just set the noscript.surrogate.ab.sources about:config preference to an empty string
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript speed regression
Filed bug 677652.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Re: noscript speed regression
Is the ab surrogate intended for http://www.antiblock.org/ ? If so, it's obsolete.
Currently their script relies on XMLHttpRequest.open throwing an exception for non-allowed domains ("Component returned failure code: ...") And their code and state is protected in a closure.
Since this is a general countermeasure to external script blocking, it probably makes sense to do something about it? I guess you could patch XMLHttpRequest.open or perhaps you could get it to not to throw without patching?
Currently their script relies on XMLHttpRequest.open throwing an exception for non-allowed domains ("Component returned failure code: ...") And their code and state is protected in a closure.
Since this is a general countermeasure to external script blocking, it probably makes sense to do something about it? I guess you could patch XMLHttpRequest.open or perhaps you could get it to not to throw without patching?
Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript speed regression
The way to make it not throw is setting noscript.forbidXHR to 0.al_9x wrote:I guess you could patch XMLHttpRequest.open or perhaps you could get it to not to throw without patching?
Otherwise a surrogate should wrap open and swallow the exception.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0