Hacker News new | past | comments | ask | show | jobs | submit login
Inside a super fast CSS engine: Quantum CSS (a.k.a. Stylo) (hacks.mozilla.org)
61 points by goranmoomin on May 27, 2023 | hide | past | favorite | 7 comments



(2017)


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...


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.


> 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.

Wow


It's very cool. Now they only need to work on the rest. Over all FF's performance is significantly worse IME.


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.


comon man, you mean to tell me you care more about this than learning how colors change the world? :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: