Adblock Plus Discussion Forum Index Adblock Plus Discussion
Adblock Plus, Extending Adblock Functionality
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Slowness with Adblock enabled

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Adblock Plus Discussion Forum Index -> General
View previous topic :: View next topic  
Author Message
neilio
Green


Joined: 25 Jul 2005
Posts: 4

PostPosted: Mon Jul 25, 2005 6:03 pm    Post subject: Slowness with Adblock enabled Reply with quote

I've noticed that if Adblock is enabled there is a delay of .5 to 2 seconds before Firefox starts loading domains that I've never been to before. If I disable Adblock, though, all sites (newly visited or otherwise) start loading almost immediately.

I recognize that using Adblock would probably add some overhead, but is there anyway to improve this? Is this in part due to using regular expressions as part of my filter list or a specific preference?
Back to top
View user's profile Send private message
g
Cool


Joined: 22 Jun 2005
Posts: 26

PostPosted: Mon Jul 25, 2005 7:10 pm    Post subject: Reply with quote

1. How old is your computer?
2. How large is your filter file?
_________________
Filterset.G
Back to top
View user's profile Send private message Visit poster's website
mcm
Site Admin


Joined: 19 Jun 2005
Posts: 352
Location: Christchurch, New Zealand

PostPosted: Mon Jul 25, 2005 8:09 pm    Post subject: Reply with quote

If you disable Adblock from within its preference panel as opposed to via extension manager, then any speed differences are due to your filters.

Note some sites seem to take a while to load that isn't to do with your filters, which could benefit from improving the code, like this site:
http://www.howardforums.com/
Back to top
View user's profile Send private message Visit poster's website
neilio
Green


Joined: 25 Jul 2005
Posts: 4

PostPosted: Mon Jul 25, 2005 9:27 pm    Post subject: Reply with quote

g wrote:
1. How old is your computer?
2. How large is your filter file?


It's new - an iMac G5 2ghz. The filter file is the latest "build" from Filterset.G.
Back to top
View user's profile Send private message
neilio
Green


Joined: 25 Jul 2005
Posts: 4

PostPosted: Mon Jul 25, 2005 9:28 pm    Post subject: Reply with quote

mcm wrote:
Note some sites seem to take a while to load that isn't to do with your filters, which could benefit from improving the code, like this site:
http://www.howardforums.com/

I've been running with site filtering turned off for the last few hours and it makes a huge diifference. I guess having site filtering turned on was what was causing the problem.
Back to top
View user's profile Send private message
mcm
Site Admin


Joined: 19 Jun 2005
Posts: 352
Location: Christchurch, New Zealand

PostPosted: Fri Aug 19, 2005 8:44 pm    Post subject: Reply with quote

Also disabling DIV checking will make things faster.
Back to top
View user's profile Send private message Visit poster's website
neilio
Green


Joined: 25 Jul 2005
Posts: 4

PostPosted: Fri Aug 19, 2005 8:52 pm    Post subject: Reply with quote

Quote:
Also disabling DIV checking will make things faster.

How do you do this? Is it a user_pref or is there something I'm missing in the UI?
Back to top
View user's profile Send private message
mcm
Site Admin


Joined: 19 Jun 2005
Posts: 352
Location: Christchurch, New Zealand

PostPosted: Fri Aug 19, 2005 9:16 pm    Post subject: Reply with quote

Very fast reply there Wink

Before it was a hidden preference available under about:config but I've since put it as an option under Adblock.
Adblock Plus 0.5.9.1

DIVs blocking is very useful in getting rid of ads that were previously impossible. But it needs to run after the page has loaded by looping through all the nodes which can take a while. Unfortunately javascript is single threaded so length functions can lock up the browser. I'm looking at implementing it in a XPCOM module for the next release if possible which will allow the browser to continue working.
Back to top
View user's profile Send private message Visit poster's website
Paulfox
Aquamarine


Joined: 17 Jul 2005
Posts: 230

PostPosted: Thu Aug 25, 2005 5:00 pm    Post subject: You learn something every dcay . . . . Reply with quote

I had DIV checking "on," and have just turned it "off." What ads would it otherwise block? I haven't seen a difference with my filterlist - nor have I noticed much added speed if thre is any.

Could you please let me know if it's better in that case to leave "on?" - Thanks mcm - and thanks for making it an option within "prefs" in AB 0.5.9.1, which is just SUPER.

Addendum: with 10MB cache and DIV "off," there IS INDEED some "perceived" added speed to say the least. Interesting.
_________________
Get FILTERSET P
Back to top
View user's profile Send private message
mcm
Site Admin


Joined: 19 Jun 2005
Posts: 352
Location: Christchurch, New Zealand

PostPosted: Fri Aug 26, 2005 12:15 am    Post subject: Reply with quote

Well some ads come in the form of DIV elements and can only be blocked with that option enabled. But it does add some overhead to the time it takes to load a page. If you don't notice much of a speed difference then I suggest leaving it on.
Back to top
View user's profile Send private message Visit poster's website
BillK
Guest





PostPosted: Fri Aug 26, 2005 9:13 am    Post subject: Reply with quote

mcm wrote:
Well some ads come in the form of DIV elements and can only be blocked with that option enabled. But it does add some overhead to the time it takes to load a page. If you don't notice much of a speed difference then I suggest leaving it on.


Gmail sponsored ads down the right hand side need DIV enabled to blank them out, for example.
Back to top
Paulfox
Aquamarine


Joined: 17 Jul 2005
Posts: 230

PostPosted: Sat Aug 27, 2005 2:59 am    Post subject: Reply with quote

Thanks mcm for the explanation, and thanks to BillK for putting it in terms I could understand. I'm "going easy" on Google and don't block any of their ads (I just like Google - shoot me!) - but Yahoo and especially the new "breed" of Yahoo ads are particularly annoying despite several "special whammos" I created to deal with it.

The only thing I've found works is "RIP;" I imagine there are filters I should be using INSTEAD employing the "DIV option," and will check into those here on this forum.

Cheers and thanks to both of you!/p
_________________
Get FILTERSET P
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Adblock Plus Discussion Forum Index -> General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group


Free Forum, hosted by Forum For Free. (ForumForFree.com is a Forumer.com company)
Setup a phpBB/IPB forum instantly (Registration is FREE and is now open on Forumer.com network)!

Archive

Please report abuse HERE | Please read Forumer Terms of Use