Performance benchmarks

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
User avatar
Stupid Head
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Performance benchmarks

Post by Stupid Head »

I remember Wladimir saying that Filterset.G has processing times of 80ms. How would I measure the performance myself? I'm thinking of comparing Filterset.G and EasyList to see which one is better for Adblock Plus and post it on my blog.
What, me worry?
Wladimir Palant

Post by Wladimir Palant »

I didn't release the tool yet, so I'll simply tell you the times I measured on my computer. Since Filterset.G is currently down I am using the version from 2006-06-04. That's blacklist only:

Filterset.G vanilla: 65ms
Filterset.G deregified: 35ms
EasyList: 27ms

Pretty much every filter list on http://adblockplus.org/en/subscriptions has the same performance as EasyList (plus/minus a couple of milliseconds). The only two exceptions have a note that tells so.
Wladimir Palant

Post by Wladimir Palant »

Oh, and just a note - if there are two filter lists that need 25 ms separately, it doesn't mean that together they will need 50 ms. Usually they will need something like 30 ms because most filters used there don't cause any slowdown at all.
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

Wow 27ms!

That is great info to know, Wladimir. I guess fixing a lot of my filters to fit the "8-unbroken character" rule made a big difference :D Wasn't I up in the 60ms area before? ... and all this increase in speed was actually happening while I was actually increasing the size of the filter and number of strings in it!

I guess this just proves that your system is working as you predicted it would.

Congratulations on a very efficient and well-maximized update for ABP (clap-clap). 8)

*edit* I actually HAVE noticed that the filter is much faster, even using the element filter and the added whitelistings (I bow in your presence, master :D)
dutchmega
Posts: 19
Joined: Sun Sep 10, 2006 3:27 pm
Location: The Netherlands
Contact:

Post by dutchmega »

Interesting. I'm curious how much ms dutchblock takes, considering it's by far the largest list (21kb)
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

dutchmega wrote:Interesting. I'm curious how much ms dutchblock takes, considering it's by far the largest list (21kb)
Well, Robbie, I would say that you would qualify as one of those:
"Pretty much every filter list on http://adblockplus.org/en/subscriptions has the same performance as EasyList (plus/minus a couple of milliseconds). The only two exceptions have a note that tells so.
... and you don't have a "note" :wink:

Wladimir always said that the size didn't matter ... the structure did. I would say that you are 'optimized for ABP' :)
Wladimir Palant

Post by Wladimir Palant »

dutchmega wrote:Interesting. I'm curious how much ms dutchblock takes, considering it's by far the largest list (21kb)
38ms
User avatar
Stupid Head
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Post by Stupid Head »

What, me worry?
IceDogg
Posts: 909
Joined: Fri Jun 09, 2006 11:22 pm

Post by IceDogg »

Stupid Head wrote:It's up.
Hope you don't mind I submitted this to digg.com . So, if you liked it and want to see it on front page digg it here
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

Stupid Head wrote:It's up.
Cool 8)
Post Reply