The Adblock Project Forum Index The Adblock Project
Pull up a seat ...stay a while.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

scrolling problems - jerky, slow

 
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main
View previous topic :: View next topic  
Author Message
aoLhaTer



Joined: 26 Nov 2003
Posts: 16

PostPosted: Wed Nov 26, 2003    Post subject: scrolling problems - jerky, slow Reply with quote

while adblock dev build 20 is enabled, scrolling on certain websites is slow and jerky
ive found that in fatwallet forums this occurs ( http://www.fatwallet.com/forums/messageview.cfm?catid=18&threadid=245481 )
this also occurs on the firebird extensions page (http://texturizer.net/firebird/extensions/ )

once adblock is disabled, everything scrolls smoothly once again


this extension is really great though, thanks for all the work on it
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Wed Nov 26, 2003    Post subject: Reply with quote

aoLhaTer:
When you say "disabled", do you mean adblock's pref, or firebird's extension-disablement? (The shortcut and pref-checkbox are adblock's.)
.
Does the problem disappear without having to reload the page?
Back to top
View user's profile Send private message
aoLhaTer



Joined: 26 Nov 2003
Posts: 16

PostPosted: Wed Nov 26, 2003    Post subject: Reply with quote

rue wrote:
aoLhaTer:
When you say "disabled", do you mean adblock's pref, or firebird's extension-disablement? (The shortcut and pref-checkbox are adblock's.)
.
Does the problem disappear without having to reload the page?

ive disabled adblock through the adblock preferences window

the page takes a very long while to render and thats what causes the slowdown (and spike in cpu usage)

once the page renders completley and you scroll past everything a few times it eventually becomes smooth


also, when adblock is enabled the whole page re renders after a refresh but it seems like when adblock is disabled the page does not re render on refresh
Back to top
View user's profile Send private message
n4cr2k



Joined: 03 Nov 2003
Posts: 7

PostPosted: Wed Nov 26, 2003    Post subject: Reply with quote

I too have notice this with build 20. I have a slow machine in my office so I noticed it there. Pages render very slowly, and CPU spikes when loading a page. If i disable adblock from the Tools->Adblock->preferences->enable, pages seem to render at normal speed.
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Wed Nov 26, 2003    Post subject: Reply with quote

aoLhaTer:
Do you have a pretty slow machine? I think that's the common-thread, here.
.
Adblock's performance scales with CPU-speed. The jerkiness after pageload is probably due to timed-interplay between the browser's graphics-cache, and Adblock's delay -- older stuff getting dumped before pageload is complete. This is just a guess, since I don't have any slower cpu's to try this on.
Back to top
View user's profile Send private message
hank



Joined: 15 Nov 2003
Posts: 58

PostPosted: Wed Nov 26, 2003    Post subject: slow (borrowed) machine and yes, it's jerky Reply with quote

I'm visiting family this week, using a 3-year old Pentium (so slow that it was put aside for guests to use when their 7-year-old boy got a faster computer recently).

And yes, it is very, very jerky and slow; it's faster to let the advertising load than to block it, is my impression!

next week I'll be back to my 3-year-old Powerbook and make comparisons.
Back to top
View user's profile Send private message
n4cr2k



Joined: 03 Nov 2003
Posts: 7

PostPosted: Wed Nov 26, 2003    Post subject: Reply with quote

This machine is pretty slow. P3 550 w/ 512Mb Ram. But... I have been using Adblock for some time now, and never really noticed much lag, until the latest builds (19&20). I have a much more powerfull dual athlon MP 1900 system at home i can use to see if i notice slow down while using the latest build of adblock.
Back to top
View user's profile Send private message
aoLhaTer



Joined: 26 Nov 2003
Posts: 16

PostPosted: Wed Nov 26, 2003    Post subject: Reply with quote

rue wrote:
aoLhaTer:
Do you have a pretty slow machine? I think that's the common-thread, here.
.
Adblock's performance scales with CPU-speed. The jerkiness after pageload is probably due to timed-interplay between the browser's graphics-cache, and Adblock's delay -- older stuff getting dumped before pageload is complete. This is just a guess, since I don't have any slower cpu's to try this on.

this machines pretty fast
athlon xp 2400+
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Thu Nov 27, 2003    Post subject: Reply with quote

Before we head into testing, everyone should do this:
.
Remove all beginning and ending wildcards from your simple-filters.
*adworld.com* ..becomes: adworld.com
.
For simple-filters that would then have beginning and ending slashes, turn them into literal RegExp's:
*/lotsOFads/* ..becomes: /\/lotsOFads\//
.
This will result in a direct speed-increase, and (possibly) help with the parent-issue.
Back to top
View user's profile Send private message
aoLhaTer



Joined: 26 Nov 2003
Posts: 16

PostPosted: Thu Nov 27, 2003    Post subject: Reply with quote

rue wrote:
Before we head into testing, everyone should do this:
.
Remove all beginning and ending wildcards from your simple-filters.
*adworld.com* ..becomes: adworld.com
.
For simple-filters that would then have beginning and ending slashes, turn them into literal RegExp's:
*/lotsOFads/* ..becomes: /\/lotsOFads\//
.
This will result in a direct speed-increase, and (possibly) help with the parent-issue.

awesome, that did it Smile

wasnt aware the wildcard was taken out

thanks
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Thu Nov 27, 2003    Post subject: Reply with quote

aoLhaTer:
Wildcards haven't been removed -- they're just no longer necessary on the ends of simple-filters.
.
The overhead they generate is not to be taken lightly.
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Thu Nov 27, 2003    Post subject: Reply with quote

d2 nightly 21 is posted.
.
Beginning and trailing wildcards are automatically removed from all simple-filters.
Back to top
View user's profile Send private message
aoLhaTer



Joined: 26 Nov 2003
Posts: 16

PostPosted: Thu Nov 27, 2003    Post subject: Reply with quote

<3
thanks for your hard work

i went through my filters file and cleaned everything up (some dupes and the beginning/trailing wildcards)
Back to top
View user's profile Send private message
mrtech



Joined: 30 Nov 2003
Posts: 3

PostPosted: Sun Nov 30, 2003    Post subject: Reply with quote

Could you recommend the most efficient reg-ex for the following examples, thanks:

1- /RealMedia/ads/
2- http://ad.*
3- http://banner*/
4- http://banner.*/*
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Sun Nov 30, 2003    Post subject: Reply with quote

mrtech:
See this thread for further dialog.
.
Applying the ideas there, you might come up with:
1. realmedia/ads - adblock is case-insensitive
2. /[\/\.]ads?[\/\.]/ - catch ad(s) if it's capped by a slash or period
3. /[\W]banners?[\W]/ - catch banner(s) if it's capped by non-letters
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main All times are GMT + 1 Hour
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