[HN Gopher] Inside a super fast CSS engine: Quantum CSS (a.k.a. ...
___________________________________________________________________
Inside a super fast CSS engine: Quantum CSS (a.k.a. Stylo)
Author : goranmoomin
Score : 39 points
Date : 2023-05-27 14:17 UTC (8 hours ago)
(HTM) web link (hacks.mozilla.org)
(TXT) w3m dump (hacks.mozilla.org)
| brycewray wrote:
| (2017)
| sanxiyn wrote:
| Amazingly, Firefox retained this performance edge over Chrome
| for 5 years, and will likely retain for 5 more years. This is
| really an amazing technological achievement.
|
| > Firefox's Stylo engine is fast. Like, really fast. Like, so
| fast that, if every browser were like Firefox, there would be
| little point in discussing style performance.
|
| https://nolanlawson.com/2022/06/22/style-scoping-versus-shad...
| ygra wrote:
| I recently had to debug and profile an edge case with certain
| CSS that made applications using our library somewhat slow.
| And it all was due to style recalculations. Interestingly, it
| was mostly a Chrome problem and Firefox had not a single
| element style-dirty, let alone 8000 of them (which was
| basically all of the DOM in my test case). While I could coax
| Firefox into also considering all those elements as dirty,
| recalculating the matching CSS rules took just a fraction of
| what Chrome took. Was a fun learning experience in how
| browsers work.
| esaym wrote:
| Yea I got excited at first thinking this was recent since they
| laid off the quantum/servo team over a year ago. The whole
| thing is disappointing.
| redeeman wrote:
| comon man, you mean to tell me you care more about this than
| learning how colors change the world? :)
___________________________________________________________________
(page generated 2023-05-27 23:01 UTC)