Categories
Technology

Brave Browser Claims 69x Better Performance For Its Ad-Blocker After Switching From C++ To Rust

The Brave web browser “claims to have delivered a ’69x average improvement’ in its ad-blocking technology using Rust in place of C++” reports ZDNet.
They cite a blog post by Brave performance researcher Dr. Andrius Aucinas and Brave’s chief scientist Dr. Ben Livshits:
The improvements can be experienced in its experimental developer and nightly channel releases… “We implemented the new engine in Rust as a memory-safe, performant language compilable down to native code and suitable to run within the native browser core as well as being packaged in a standalone Node.js module,” the two Brave scientists said. The new engine means the Chromium-based browser can cut the average request classification time down to 5.6 microseconds, a unit of time that’s equal to a millionth of one second.

Aucinas and Livshits argue that the micro-improvements in browser performance might not seem significant to end users but do translate to good things for a computer’s main processor. “Although most users are unlikely to notice much of a difference in cutting the ad-blocker overheads, the 69x reduction in overheads means the device CPU has so much more time to perform other functions,” the pair explain.

Their blog post notes that loading a web page today can be incredibly complex. “Since loading an average website involves 75 requests that need to be checked against tens of thousands of rules, it must also be efficient.”


Share on Google+

View source

Codice amico Very Mobile Diagonal Media Digital Marketing