Showing posts with label performance. Show all posts
Showing posts with label performance. Show all posts

Saturday, October 15, 2011

Firefox 7: Faster Performance and Conservative Memory Usage

Performance and improved memory use were the goals of Firefox 7, which arrived on schedule today from Mozilla. Firefox 7 is available to download for Windows, Mac, Linux, and Android
The new Telemetry feature asks you to opt in before it will collect your data.
(Credit: Mozilla)


The wide-release version of Firefox 7 brings changes to the majority of Firefox users that the beta and Aurora channels have been playing with for some time. These include claims of significant gains in reducing memory use, "often 20 percent to 30 percent less, and sometimes as much as 50 percent less," a company representative wrote in a blog post based on work by Firefox developer Nicholas Nethercote.

These performance gains are the first public results of an internal Mozilla project called MemShrink, which, as the name implies, is about reducing the browser's system impact. Mozilla cited several specific areas of improvement in Firefox 7, including when the browser is kept open for long periods of time, when multiple tabs are open at once, and when the browser is used concurrently with other programs that also use a lot of memory. The company also noted that MemShrink was successful in part because of the rapid-release cycle that a vocal minority of Firefox users have been criticizing.

The spotlight on performance is something that Mozilla clearly plans to keep lit. When you install Firefox 7, you'll be prompted to opt in to a new anonymous-reporting measure that the company is calling Telemetry. Not unlike security suites that use your data anonymously to improve threat detection rates, Mozilla plans to crowd-source its performance data to learn more about how the browser performs in real-world situations.

Unlike the security suites, Telemetry is an opt-in reporting system, so Mozilla won't be collecting data without permission. Lead privacy engineer Sid Stamm addresses security concerns in a blog post, but the short version is that Mozilla is far more open about the data it collects--and why it collects that data--than competitors such as Apple, Google, and Microsoft. Currently, Telemetry looks at four categories: memory usage, CPU core count, cycle collection times, and startup speed. Curious readers can install the about:telemetry add-on to see the personal statistics Firefox is gathering.

If you've enabled Telemetry and would like to disable it, you can go to Options, Advanced, and uncheck the Submit Performance Data box at the bottom of the General tab.

Firefox's Facelift makes it load faster on Android Devices

Mozilla has decided that when it comes to Android devices, performance is more important than the wealth of add-ons that can be used to customize Firefox

Yesterday, Mozilla's Director of Firefox Engineering Johnathan Nightingale announced on a mailing list that Firefox will move to Android's native user interface, ditching the XUL technology that has been in use by Mozilla since before there even was a Firefox.

"Firefox on Android is a critical part of supporting the open Web, and this decision puts us in a position to build the best Firefox possible," Nightingale said.

Firefox is widely used on personal computers but a rarity on mobile phones, where--unlike Apple's Safari or the unbranded browser Google builds for Android--it's not installed on any phones by default. Firefox is the chief way Mozilla tries to implement its vision of empowering users of the Web and keeping that Web an open technology.

Firefox with a native Android interface should mean faster start-up, less memory usage, and smoother zooming and panning, Nightingale said. The native UI project page for mobile Firefox, aka Fennec, also listed better battery life as a benefit.

It's not clear when the rebuilt version will arrive, but it won't be for either the beta or Aurora versions currently in testing, Nightingale said.