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…
It’s time to stop believing these PC building myths
Hyte's Thicc Q60 all-in-one liquid cooler.

As far as hobbies go, PC hardware is neither the cheapest nor the easiest one to get into. That's precisely why you may often run into various misconceptions and myths.

These myths have been circulating for so long now that many accept them as a universal truth, even though they're anything but. Below, I'll walk you through some PC beliefs that have been debunked over and over, and, yet, are still prevalent.
Liquid cooling is high-maintenance (and scary)

Read more
AMD’s next-gen CPUs are much closer than we thought
AMD Ryzen 7 7800X3D held between fingertips.

We already knew that AMD would launch its Zen 5 CPUs this year, but recent motherboard updates hint that a release is imminent. Both MSI and Asus have released updates for their 600-series motherboards that explicitly add support for "next-generation AMD Ryzen processors," setting the stage for AMD's next-gen CPUs.

This saga started a few days ago when hardware leaker 9550pro spotted an MSI BIOS update, which they shared on X (formerly Twitter). Since then, Asus has followed suit with BIOS updates of its own featuring a new AMD Generic Encapsulated Software Architecture (AGESA) -- the firmware responsible for starting the CPU -- that brings support for next-gen CPUs (spotted by VideoCardz).

Read more
AMD Zen 5: Everything we know about AMD’s next-gen CPUs
The AMD Ryzen 5 8600G APU installed in a motherboard.

AMD Zen 5 is the next-generation Ryzen CPU architecture for Team Red and is slated for a launch sometime in 2024. We've been hearing tantalizing rumors for a while now and promises of big leaps in performance. In short, Zen 5 could be very exciting indeed.

We don't have all the details, but what we're hearing is very promising. Here's what we know about Zen 5 so far.
Zen 5 release date and availability
AMD confirmed in January 2024 that it was on track to launch Zen 5 sometime in the "second half of the year." Considering the launch of Zen 4 was in September 2022, we would expect to see Zen 5 desktop processors debut around the same timeframe, possibly with an announcement in the summer at Computex.

Read more