Skip to main content

The latest Firefox revs up browsing by stitching more threads into your CPU

Firefox
Image used with permission by copyright holder

The latest version of Mozilla’s Firefox web browser is now available for PC (v58) and Android (v58) devices. The list of new features is small on the PC version, as the company mostly focused on improving the software’s overall performance. According to the company, Firefox now uses a method called off-main-thread painting that relies on a new, dedicated CPU thread to provide fast, smoother page loads. 

Prior to Firefox 58, the Quantum-branded desktop browser presented web pages using four steps: Making the display list, assigning items to layers, rasterizing each item on their assigned layer, and compiling everything into the page you view within the browser. To render the page at 60 frames per second, the entire list — such as processing input events and JavaScript code — must be accomplished in 16 milliseconds. 

Firefox Quantum performs these four stages in two processes or threads. The first “main” thread consists of the display list, layer assignments, and rasterization. This thread pushes its results to a second thread for composition and then restarts its three-stage process. But with Mozilla’s new method, the browser relies on a third “paint” thread to rasterize every element of the web page. 

Thus, the flow consists of the display list and layer assignment in the first main thread, rasterization in the second, and composition in the third. The overall page rendering is now faster because once Firefox sends data to the paint/rasterization thread, the main thread can process the new JavaScript and input events. Of course, that is just a simple explanation, as the details get a bit more technical when Firefox needs to render complex pages. 

“In Firefox 58, rasterization will consume less of the frame budget on average,” Mozilla says. “Similarly, in Firefox 57, rasterization is a significant slice — 50 percent of the paint cycle or more — 21 percent of the time. In Firefox 58, that scenario occurs only four percent of the time!” 

According to a chart, Firefox Quantum 58 can render pages with heavy JavaScript at 40 frames per second versus Firefox 57 running the same page at 31 frames per second. Mozilla expects the rendering speed to become even faster once the company integrates its next-generation web page renderer, aptly called WebRender, into Firefox. Mozilla will provide additional information in the coming months. 

Outside the new off-main-thread painting process, Firefox Quantum 58 has a new way the browser caches and retrieves JavaScript called JavaScript Startup Bytecode Cache. Firefox also now enables you to copy and paste screenshots directly to the clipboard, and grab screenshots when surfing the internet in Private Browsing mode. Tracking Protection is also now available to Nepali-speaking Firefox customers. 

As for the latest Firefox browser for Android, Mozilla revised the bookmarking feature with a full screen to better view and organize your favorites and folders. The Android version also now provides better support for Progressive Web Apps, which are essentially websites that work like an app within any browser on any device, whether they’re used on a desktop PC or Android-based phone. You can now access these “apps” directly from your home screen outside Firefox. 

Editors' Recommendations

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
How to connect a keyboard and mouse to the Steam Deck
Steam Deck with Keyboard.

One of the best features of the Steam Deck is its varied controls, from face buttons, to joysticks, to touch controls. But there's never a substitute for a full size keyboard and mouse, and fortunately, you can connect them straight to the Steam Deck. It supports wired and wireless connections, although you'll need a USB hub if you want to use a USB connection.

Read more
This ultra-portable Lenovo 2-in-1 laptop is discounted from $649 to $199
lenovo 500w 2 in 1 laptop deal april 2024 classroom

For super cheap laptop deals, take a look at Lenovo right now. You can pay just $199 and get a Lenovo 500w 2-in-1 laptop. According to Lenovo’s estimated value system, the laptop normally costs $649 which is potentially a little overly optimistic but what we do know is that $199 for a 2-in-1 laptop is incredibly cheap. If you simply want an inexpensive laptop for basic typing of documents or web browsing, you’ll be happy with the Lenovo 500w 2-in-1 laptop. Here’s all we know about it.

Why you should buy the Lenovo 500w 2-in-1 Laptop
The Lenovo 500w 2-in-1 laptop keeps things simple with its hardware but you know you’re in safe hands as Lenovo is one of the best laptop brands. Here, you get an Intel Pentium Silver N6000 processor along with 8GB of memory and 128GB of SSD M.2 storage. At this price, we’re delighted to see 8GB of memory rather than 4GB and also the use of an SSD instead of eMMC. Such additions means the Lenovo 500w 2-in-1 laptop will be a little speedier than other laptops in this price range.

Read more
This laptop beats the MacBook Air in every way but one
Lenovo Yoga 9i Gen 9 top down view showing tent mode.

The Lenovo Yoga 9i Gen 9 Mark Coppock / Digital Trends

There are plenty of great 13-inch and 14-inch laptops out there, but none that can defeat the M3 MacBook Air head-to-head. That notebook is the complete package when it comes to ultra-portable laptops.

Read more