Torrent Invites! Buy, Trade, Sell Or Find Free Invites, For EVERY Private Tracker! HDBits.org, BTN, PTP, MTV, Empornium, Orpheus, Bibliotik, RED, IPT, TL, PHD etc!



Results 1 to 4 of 4
Like Tree6Likes
  • 5 Post By sedna
  • 1 Post By MusicX

Thread: Mozilla boasts that it's next big enhancement will make Firefox silky-smooth

  1. #1
    sedna
    Guest sedna's Avatar

    Mozilla boasts that it's next big enhancement will make Firefox silky-smooth

    Lin Clark, an engineer on the Mozilla Developer Relations team, revealed how Firefox will soon become silky-smooth via a new GPU-accelerated rendering engine written in Rust called “WebRender.”

    Overhauling Firefox For Performance
    Over the past year or so, Firefox has undergone a major overhaul of its architecture. Firefox first switched to Electrolysis, its multi-process architecture that enabled significant improvements in performance. The user interface, content, and add-ons didn’t have to slow each other down anymore, as each could run in a different process powered by a different CPU thread.
    Security should have improved significantly, too, due to the stronger isolation mechanisms, but just how much it has improved remains to be seen. We'll know more once both white hat and black hat hackers have had time to put the new Firefox to a test.

    Recently, Mozilla also announced that the next version of Firefox (v57) will be twice as fast. This improvement was brought by the replacement of some core parts of the browser engine with faster and more secure (written in the memory safe Rust language) components. The project has been compared to replacing a jet engine while the jet is still in flight.

    Web Rendering At 60FPS
    Rendering a page refers to two processes: painting the pixels on the screen as well as the compositing of layers. To save CPU cycles and improve performance, browsers would draw certain elements of the page on different layers, and at the end the layers would be combined. This is what compositing is.

    The downside to this approach is that if users scroll on the page or highlight a few words, some pixels and layers need to be drawn all over again. For the scrolling and animations to look smooth, they need to run at 60 frames per second (fps).
    Clark compared this to a book of static drawings, where if you flip quickly through the pages, it would look as if they are animated. In this example, for the animation to look smooth, you would have to flip 60 pages for every second in the animation. The reason why “60” is the magical number for smooth animations is because most computer screens refresh 60 times per second.
    Mozilla intends to bring 60fps rendering to its web browser, a feat no other browser can currently claim, by using GPU acceleration for both the painting and the compositing of the layers.
    Allowing compositing to be accelerated by the GPU wasn’t so hard, so eventually other browsers ended-up doing that. However, doing GPU-accelerated painting was more difficult, especially for cross-platform browsers, so it’s only recently that some browsers started making this transition, according to Clark.

    WebRender Works Like A Game Engine

    Even with both painting and compositing being accelerated by the GPU, a performance bottleneck is still created by the division of the two processes. Mozilla aims to fix this with “WebRender,” which removes the distinction between painting and compositing. Instead, every pixel will be painted on the screen on each frame, just as it happens in PC games.
    This improvement will not only make web rendering faster, but also much smoother, without any "jank." The benefits of this enhancement will be even more obvious when rendering on 4k displays or on WebVR-capable headsets.

    The reason why painting the whole screen directly wasn’t done before is because it’s a more compute intensive process. In the past, a single CPU thread used to do all of the browser’s work, so it didn’t make sense to add “unnecessary” or lower priority features such as “scrolling smoothness” to the rendering engine.

    However, now that browser vendors are learning how to use the GPU to accelerate their browsers, this isn’t an issue anymore. After all, GPUs are orders of magnitude more efficient at painting pixels on the screen than CPUs are.

    One side benefit of Mozilla making its web rendering engine act as a gaming engine does is that Firefox could become the best browser for 3D web games. Coupled with WebAssembly, which will allow game developers to port their C++ 3D games and run them at near-native speed, Firefox could become a compelling deployment platform for gaming developers.

    According to Clark, WebRender will arrive in Firefox a few versions after the initial Firefox Quantum release (v57), which could mean the first half of 2018.
    MusicX, HarryBosch, jimmy7 and 2 others like this.

  2. #2
    MusicX
    Guest MusicX's Avatar
    I might give a second try to Firefox after this.
    Last edited by ; 10-12-2017 at 03:46 PM.
    HarryBosch likes this.

  3. #3
    Donor
    HarryBosch's Avatar
    Reputation Points
    18084
    Reputation Power
    100
    Join Date
    Aug 2017
    Posts
    676
    Time Online
    33 d 16 h 54 m
    Avg. Time Online
    19 m
    Mentioned
    191 Post(s)
    Quoted
    66 Post(s)
    Liked
    986 times
    Feedbacks
    14 (100%)
    Always liked Firefox and with the new engine it's gonna be awesome

  4. #4
    Donor
    Seb23100's Avatar
    Reputation Points
    43838
    Reputation Power
    100
    Join Date
    Aug 2017
    Posts
    1,506
    Time Online
    11 d 22 h 35 m
    Avg. Time Online
    7 m
    Mentioned
    571 Post(s)
    Quoted
    67 Post(s)
    Liked
    874 times
    Feedbacks
    122 (100%)
    I will have to re-download and give it a try.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •