Announcement

Collapse
No announcement yet.

Google Is Enabling Brotli Compression Support In Chrome

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

  • Google Is Enabling Brotli Compression Support In Chrome

    Phoronix: Google Is Enabling Brotli Compression Support In Chrome

    Google is planning to enable support for Brotli compression within the next release of the Chrome web-browser. Brotli offers much better compression rates over other alternatives...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I bet the 18% to 25% boost (+7%) in compression is due to the default reference dictionnary in Brotli.

    Regular web documents (HTML and CSS) are rather verbose: they use full lenght english keywords. Having the most common alread in the reference helps.
    Javascript on the other hand is a very condensed language, using curly brace ('{' and '}'), like the C and B languaes. instead of keywords ('BEDIN', 'END', or '<TAG>' '</TAG>'), so brotli's reference dictionnary can't help much beyond what the entropy coder (and the LZ) does already.


    ...and I still would hope to see more widespread usage of Zstd (by Yann Collet, combing fast LZ dictionnary (like also his LZ4) with Finite State Entropy - a range-coder-equivalent finite state machine - itself inspire by Asymetric Numerical Systems by Jarek Duda - basically Range encorders with the bits in the other way, because that enables tons of fun stuff, like tables, etc.)
    It's also a bit better then zlib, while being much faster. (It plays in the same kind of field as Brotli), but being a lot lighter on ressources. (Brotli uses a big reference dictionnary and use complex statistical modelling. FSE on the other hand are designed to by even lighter on CPU than range-encoding while in the same kind of performance)
    Last edited by DrYak; 21 January 2016, 11:26 AM.

    Comment


    • #3
      It looks like some of the nginx brotli work is being done by cloudflare, so the quality should be good, and it should be easy to get soon.

      Brotli module for NGINX, including the encoder. Contribute to cloudflare/ngx_brotli_module development by creating an account on GitHub.

      Compression is one of the most important tools CloudFlare has to accelerate website performance. Compressed content takes less time to transfer, and consequently reduces load times.

      Comment


      • #4
        Is there any benefit for phoronix to use brotli?

        Comment

        Working...
        X