Speed Safari 8.0 with ABP

Everything about using Adblock Plus on Safari
Post Reply
Berlin10115
Posts: 4
Joined: Wed Oct 22, 2014 10:28 pm

Speed Safari 8.0 with ABP

Post by Berlin10115 »

I have been using Firefox on OS X with ABP and it worked great. I am now trying out the new Safari 8.0 on Yosomite with ABP and found that it is slowing down the load times of webpages considerably. If I test pages such as http://www.spiegel.de or http://www.welt.de with Safari there is a good difference with ABP and without ABP. I would say that Safari without ABP is a bit slower than Firefox with ABP.

Is it because ABP will not work any faster on Safari or is the current version of ABP not yet optimized for Safari 8.0?
snoack
Posts: 162
Joined: Tue Aug 13, 2013 7:45 pm

Re: Speed Safari 8.0 with ABP

Post by snoack »

From what I can tell so far, things didn't became any slower with Safari 8. However, some users already reported before, that they experienced longer page load times when using Adblock Plus on Safari. It's probably because the way Safari extensions work, the rendering and execution of web pages is paused every time we check whether to block an element. There is nothing we can do about this, unless hoping that Apple will provide better extension APIs for Safari in the future.
Berlin10115
Posts: 4
Joined: Wed Oct 22, 2014 10:28 pm

Re: Speed Safari 8.0 with ABP

Post by Berlin10115 »

Thank you very much, that makes sense. I can actually observe in the load beam how it stops for 1-3 seconds. Initially I thought that was because the napshots of the page being made by Safari, but that explains everything. Let's hope a lot of Safari programmers use ABP, get annoyed by the load times and start programming a decent API :D
snoack
Posts: 162
Joined: Tue Aug 13, 2013 7:45 pm

Re: Speed Safari 8.0 with ABP

Post by snoack »

I just did some benchmarking of Adblock Plus on Safari 8. But surprisingly, I didn't find any website where I could measure notable longer page load time when Adblock Plus is installed and enabled compared to when it's not. As I said, we can't probably do much to improve the performance on Safari at the moment. But I would like to know scenarios where this is an issue. Please let me know if there is any URL where you can reproduce notable longer page load time with Adblock Plus, and the filter list configuration that you are using.
Berlin10115
Posts: 4
Joined: Wed Oct 22, 2014 10:28 pm

Re: Speed Safari 8.0 with ABP

Post by Berlin10115 »

Hi, I have captured the lags in a video

https://www.dropbox.com/s/rhmeleqav45ce ... l.mov?dl=0

My computer is a late 2013 iMac 27 i7 with 50 MBit/s internet.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Speed Safari 8.0 with ABP

Post by mapx »

Do you have the last dev build ?
If no, install it (disable / remove the stable one) and test again: devbuilds/adblockplussafari/00latest.safariextz
Berlin10115
Posts: 4
Joined: Wed Oct 22, 2014 10:28 pm

Re: Speed Safari 8.0 with ABP

Post by Berlin10115 »

I had build 1.8.6 installed. The build 1.8.7 already works much faster:

https://www.dropbox.com/s/tleom84c44bp0 ... 2.mov?dl=0

There is still a slight delay when reloading and loading the pictures further down the page.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Speed Safari 8.0 with ABP

Post by mapx »

Sebastian Noack (snoack) improved ABP for safari, see: https://issues.adblockplus.org/ticket/1502

#1244: 2014-10-28 13:15 +0100 Sebastian Noack
Issue 1502 - Cache translation catalogs on Safari
Post Reply