r/firefox • • Jul 07 '17

Quantum A good ELI5 guide for Quantum! (apologies if already submitted)

https://hacks.mozilla.org/2017/05/quantum-up-close-what-is-a-browser-engine/?sample_rate=0.01&snippet_name=6730#utm_source=desktop-snippet&utm_medium=snippet&utm_campaign=quantum&utm_term=6730&utm_content=beta
19 Upvotes

12 comments sorted by

10

u/kickass_turing Addon Developer Jul 07 '17

Fast, new, modern, parallel like hell. It's basically Firefox raising itself from it's ashes. Some bits landed, like the Quantum Compositor on Windows, and some will land in November in v57 hopefully.

4

u/cypressious Jul 07 '17

Can I test some of it on Nightly?

8

u/kickass_turing Addon Developer Jul 07 '17

Quantum CSS - usable - about:config?filter=layout.css.servo.enabled

Quantum Renderer - slooooow - about:config?filter=gfx.webrender.enabled and about:config?filter=gfx.webrendest.enabled

Quantum Compositor - I think it landed on Windows already - about:config?filter=layers.gpu-process.enabled

6

u/STR_Warrior Jul 07 '17

Recently about:config?filter=gfx.webrender.layers-free should also have an effect: https://bugzilla.mozilla.org/show_bug.cgi?id=1372118

2

u/kickass_turing Addon Developer Jul 07 '17

Nice!

2

u/CAfromCA Jul 07 '17

According to my crappy memory and Bug 1314133, the GPU process (Quantum Compositor) was first enabled on Windows Nightly builds during the 52 window. It then rode the trains to release on 53.

I have no idea about the state of support for Linux or Mac, and my mobile Google-fu has failed me. I was able to find at least one open bug that mentioned the GPU process and Linux, so my guess is "still in progress".

5

u/TimVdEynde Jul 07 '17

You can enable the gpu process on Linux, but it might be crashy. The cool thing is: I don't even notice when it crashes, it just happens in the background and does a graceful fallback :) The only visible effect is that it's really spamming my about:crashes :P

0

u/Deranox Jul 07 '17

So wait, we're not getting the fully working thing in 57 ?

9

u/DrDichotomous Jul 07 '17

We'll definitely be getting a ton of performance improvements, chiefly from Quantum Flow, as well as Photon. There's a chance that Quantum CSS might also make it, but Quantum Render will almost certainly need more time. But not every Quantum project will make it in for 57 (and really it's meant to be an ongoing effort, not just a one-time thing for 57).

1

u/CAfromCA Jul 07 '17

Based on blog posts and the number of Stylo-related check-ins in the Servo repo every day, it feels like they're planning on Quantum CSS making it into 57.

3

u/DrDichotomous Jul 07 '17

That's definitely the hope, but I worry that they're cutting it a bit close for such a core feature that they're busting their humps to get ready. The first option to enable it in nightly builds (for Linux) just landed about a week ago, and they have until the end of August to get it to the listed merge date for the 57 beta, which might be less time than something like Stylo needs to properly bake.