5 ms·
Opera 37 dev version is available for linux, so I installed it to perform my own measurements. The example given in Opera's blog post is not very useful, they
by gorhill 11y ago
Opera 37 dev version is available for linux, so I installed it to perform my own measurements.
The example given in Opera's blog post is not very useful, they tested a lightweight page with only one network request blocked. That page loads fast even without a blocker. I preferred testing high-traffic, heavy front pages.
The tool to benchmark page load speed is the one I wrote, found at: http://www.raymondhill.net/ublock/pageloadspeed.html http://www.raymondhill.net/ublock/pageloadspeed.html (available on GitHub[1]).
Settings:
Chrome 50 + uBlock Origin 1.6.4 with default settings.
Opera 37 in ad-blocking mode, I did not touch the built-in whitelist.
For both browsers, click-to-play was enabled. I disabled the blocking of 3rd-party cookies for both browsers, this is necessary for the page load speed tool to make benchmarked web pages render properly sometimes.
For each site benchmarked, I opened a new tab for the page load speed tool.
I also tested a web page with nothing to block at all, to test for a case where the CPU cost of the blocking engine can't be offset by the gain of not loading blocked resources.
I did not interact with the pages once they loaded, to be sure I benchmarked exactly the same thing. Sometimes merely hovering the mouse over a page can cause javascript code to execute, etc. I didn't want this to happen. From what I could observe, pages looked similar in both browsers, except that there were Taboola ads on Business Insider with Opera, not present with Chrome+uBO (taboola.com is blocked by Peter Lowe's filter list, which is selected by default in uBO).
Results:
http://cnn.com/ http://cnn.com/
- Chrome 50: Average (valid): 351.65 ms (11/17 iterations)
- Opera 37: Average (valid): 409.94 ms (11/15 iterations)
http://www.washingtonpost.com/ http://www.washingtonpost.com/
- Chrome 50: Average (valid): 933.18 ms (11/14 iterations)
- Opera 37: Average (valid): 1115.15 ms (11/14 iterations)
http://www.businessinsider.com/ http://www.businessinsider.com/
- Chrome 50: Average (valid): 1188.54 ms (11/14 iterations)
- Opera 37: Average (valid): 1494.69 ms (11/17 iterations) (had clickbait Taboola ads)
https://en.wikipedia.org/wiki/Main_Page https://en.wikipedia.org/wiki/Main_Page
- Chrome 50: Average (valid): 258.51 ms (11/14 iterations)
- Opera 37: Average (valid): 281.82 ms (11/12 iterations)
Note that if you run your own benchmarks using above tool, you can't compare results with someone else's results, as your connection speed may vary with each computer. The results are comparable for the same computer+site with different browsers, or same browser but different blockers, or same browser same blocker but different blocker settings, etc.
[1] https://github.com/gorhill/pageloadspeed https://github.com/gorhill/pageloadspeed
- amk_ 11y agoWhat about the same Opera build with uBlock Origin vs the built-in blocker?
- deleted 11y ago[deleted]
- gorhill 11y agoHere: http://cnn.com/ http://cnn.com/ - Opera 37 + uBO: Average (valid): 2280.89 ms (11/16 iterations) - Opera 37 + built-in: Average (valid): 2113.47 ms (11/12 iterations) http://www.washingtonpost.com/ http://www.washingtonpost.com/ - Opera 37 + uBO: Average (valid): 1135.04 ms (11/15 iterations) - Opera 37 + built-in: Average (valid): 1072.35 ms (11/12 iterations) http://www.businessinsider.com/ http://www.businessinsider.com/ - Opera 37 + uBO: Average (valid): 1517.48 ms (11/15 iterations) - Opera 37 + built-in: Average (valid): 1489.73 ms (11/17 iterations) https://en.wikipedia.org/wiki/Main_Page https://en.wikipedia.org/wiki/Main_Page - Opera 37 + uBO: Average (valid): 304.43 ms (11/13 iterations) - Opera 37 + built-in: Average (valid): 274.84 ms (11/16 iterations)
- deleted 11y ago[deleted]