Announcement

Collapse
No announcement yet.

The Current Windows 10 vs. Linux Browser Performance For Google Chrome + Mozilla Firefox

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #51
    Originally posted by JeansenVaars View Post
    this is one of the threads that make me ask myself:

    1. I have better battery life in windows
    2. I have games, ms office, photoshop and sony vegas on windows
    3. browsers are faster on windows
    4. My nvidia card works better, no CUDA, gcc and lower level compatibility issues

    then I ask myself why am I here?

    then I answer myself
    1. In linux I can customize my desktop environment with convenient shortcuts
    2. code compiles faster
    3. I have more free RAM available
    4. bash

    Hope I don't ask myself for much longer..
    You missed the only important point: THE LICENSE

    Comment


    • #52
      Originally posted by xiando View Post
      Since nobody's mentioned this yet: Both Chromium and Firefox disable GPU acceleration by default on GNU/Linux. These tests were done with default settings and are therefore not shocking. While this doesn't excuse the default poor performance on GNU/Linux, it does explain just why
      this happens to be the case.
      Firefox by default uses direct3d v?? depending on OS version on MS.

      Comment


      • #53
        Originally posted by andyprough View Post

        And yet, Windows has serious memory leaks when running browsers, and often isn't capable of shutting one down without leaving multiple zombie processes running. Maybe there's something to be said for clean code?
        That's only Chrome though.

        Comment


        • #54
          Originally posted by xiando View Post
          Since nobody's mentioned this yet: Both Chromium and Firefox disable GPU acceleration by default on GNU/Linux. These tests were done with default settings and are therefore not shocking. While this doesn't excuse the default poor performance on GNU/Linux, it does explain just why
          this happens to be the case.

          You can test the effect of this yourself by going to chrome://gpu to see what's disabled and chrome://flags where you want to enable "Override software rendering list", "GPU rasterization", "Out of process rasterization", "Zero-copy rasterizer" and Viz Display Compositor (OOP-D).

          In Firefox go to about:support and see what's what. Under Graphics you will likely find Compositing "basic" and AzureCanvasAccelerated 0. In Firefox 65+ you can
          go to about:config and look for gfx.webrenderer.all and set this to true. Go to about:support again and Compositing should now say WebRender.

          You can change this to true if you're using an older version of Firefox which doesn't have WebRender: layers.acceleration.force-enabled and create a New, boolean called gfx.canvas.azure.accelerated and set it to true. Now about:support should show Compositing OpenGL and AzureCanvasAccelerated 1.

          It's kind of sad that the GNU/Linux defaults in both Chromium and Firefox ensure poor performance - but that's the situation we're in.

          One last related small detail which annoys me: If you go to chrome://gpu in chromium you'll find a list of supposed "Problems detected" and "workarounds". The checks here are typically very broad like "is it MESA?" and if it is any version of MESA, new or old doesn't matter, then it's always best to work around a MESA bug fixed 5 years ago.. because it's MESA. And if it's an AMD GPU using MESA then it's clearly best to work around a bug in AMDs binary blob proprietary driver because it is, in fact, some GPU from AMD and further checks or information seems to be irrelevant. Not sure if the people making these decision don't care or don't have time or what's going on.
          An additional thing I have found with many Chromium builds, is that they are "Chromium" builds. The Chromium source code considers that a developer build and disables optimizations they would otherwise have if is_official_build=true and is_chrome_branded=true are set. Of course some distros might have hacked that, but by default Chromium builds are less optimized than Chrome builds, and you can't just simply enable them as things like using system libraries instead of bundles libraries is not allowed for official builds, so it requires a number of patches ontop of the source to get a well working fully optimized Chromium build.

          Comment


          • #55
            Originally posted by Weasel View Post
            Apart from the obvious, it's probably also the advantage of closed source, no sarcasm. Nobody in their right mind releases in some stupid shit Debug mode (because it leaks source code info), while it's "the default" on some crappy build systems in open source because why not. Open Source devs tend to not give a shit about the end users or end binary quality (how can you "forget" something is in debug build, wtf, they don't even inspect their binaries), just to keep their stupid code clean.
            Meanwhile in close source land this happened: https://www.redteam-pentesting.de/en...data-retrieval

            RedTeam Pentesting found out that one could fetch the current configuration of Cisco routes (including usernames, passwords and ipsec secrets) by fetching a debug url "/cgi-bin/export_debug_msg.exp".

            Cisco sent out a fix four months later in where they simply denied requests where User-Agent was "curl". Yep they where exactly this stupid.

            Comment


            • #56
              I have a powerful Windows 10 machine (16 Gb) at work and Firefox is leaking memory every couple of hours from everywhere with around 20-25 tabs open (regularly closed), even if I kill the sub-processes.
              On my average Linux setup at home (also 16 Gb), I have 100+ processes open (including Netflix and Prime Video) and yet it's fresh and reactive. Never leaking memory from all sides.
              It's definitely slower on Windows as well but I suspect I should blame company filters (anti-virus, traffic analysis, vpn, etc...) for that. My experience is much better on Linux.

              Comment


              • #57
                Originally posted by Aeder View Post

                Nah, with default settings (which is what the test used) a shit-ton of performance options are disabled on Linux, this has nothing to do with the OS and more to do with Mozilla not prioritizing work to get those functions working under Linux at all.

                The fact that it beats the windows version on some tests or even comes close to it with a bunch of accelerated rendering options disabled is already pretty amazing.
                2D acceleration has always been faster on Windows than on Linux because Windows has a better suited architecture for that.

                Also your "shit-ton of performance options are disabled on Linux" is nothing but lies. I've never heard of anything that Mozilla deliberately disables for Linux. In fact last time I checked they use the same compiler (clang) and compilation options for Windows, MacOS and Linux.

                But I presume you're a fanboy and you hate to see the hard facts that Linux still sucks, so you invent all sorts of BS to justify Linux' poor performance.

                Comment


                • #58
                  Originally posted by birdie View Post

                  2D acceleration has always been faster on Windows than on Linux because Windows has a better suited architecture for that.

                  Also your "shit-ton of performance options are disabled on Linux" is nothing but lies. I've never heard of anything that Mozilla deliberately disables for Linux. In fact last time I checked they use the same compiler (clang) and compilation options for Windows, MacOS and Linux.

                  But I presume you're a fanboy and you hate to see the hard facts that Linux still sucks, so you invent all sorts of BS to justify Linux' poor performance.
                  Default config on Fedora 29:

                  https://i.imgur.com/0Vva4KF.png

                  Default config on Windows 10:

                  https://i.imgur.com/icnFVx0.png
                  https://i.imgur.com/exa7rlP.png

                  Have you ever considered that jumping straight into pre-emptive personal attacks just makes you look deranged?

                  Comment


                  • #59
                    Originally posted by Aeder View Post

                    Default config on Fedora 29:

                    https://i.imgur.com/0Vva4KF.png

                    Default config on Windows 10:

                    https://i.imgur.com/icnFVx0.png
                    https://i.imgur.com/exa7rlP.png

                    Have you ever considered that jumping straight into pre-emptive personal attacks just makes you look deranged?
                    WebRender has nothing to do with OS 2D performance or compilation options. Also, I've already tried WebRender on Linux and it does not make Firefox too much faster.

                    Also, WebRender is one option. You said "a shit-ton of performance options". A "shit-ton" in my world is at the very least ten, more like a hundred. Of course, you won't name even three options disabled on Linux.
                    Last edited by birdie; 04-04-2019, 01:10 PM.

                    Comment


                    • #60
                      Originally posted by birdie View Post

                      OMG. You really don't understand what you're talking about. WebRender has nothing to do OS 2D performance or compilation options. Also, I've already tried WebRender on Linux and it does not make Firefox too much faster.

                      Also, WebRender is one option. You said "a shit-ton of performance options". A "shit-ton" in my world is at the very least ten, more like a hundred. Of course, you won't name even three options disabled on Linux.

                      Now please kindly fuq off. You really are a rabid fanboy.
                      So you're gonna ignore HW_COMPOSITING being disabled? Are you saying having no GPU acceleration at all won't affect benchmarks?

                      If you take issue with hyperbole, fine, but that's not the main point nor what I care about.

                      Also I'm apparently a rabid fanboy despite being able to provide caps from both my Win10 partition and my Linux partition.
                      Last edited by Aeder; 04-04-2019, 10:31 AM.

                      Comment

                      Working...
                      X