@slightlylate @andreasbovens @smfr Are there any specific CSS combinators etc that are particularly bad for performance in yr engines?
-
-
Is there a test case you're looking at that's slow?
1 reply 0 retweets 1 like -
no. just a convo w
@WixEng chums - they have a website-builder, & we wondered if there are specific types of CSS to avoid that are esp slow2 replies 0 retweets 0 likes -
Replying to @brucel @slightlylate and
there are a few articles from about CSS perf but they're quite old & engines change & optimise all the time so wondered if any new intel.
3 replies 0 retweets 0 likes -
Replying to @brucel @slightlylate and
Pretty sure
@jaffathecake and others have said that CSS perf is at a stage now you can't negatively impact it.1 reply 0 retweets 0 likes -
Replying to @robert_daly @brucel and
I don't know if I said that, but tools-not-rules definitely applies here
2 replies 0 retweets 1 like -
Replying to @jaffathecake @robert_daly and
indeed. but we can't automatically measure the perf of 100 million Wix-generated sites, so if there any rules at all, we can make better CSS
1 reply 0 retweets 0 likes -
Replying to @brucel @jaffathecake and
(of course, there are many other optimisations to be done, too. This is known.)
1 reply 0 retweets 0 likes -
Replying to @brucel @jaffathecake and
The historical slow paths were related to nth-* and sibling selectors, but not up on current state of the style engine.
2 replies 0 retweets 1 like
That said, again, I'd be looking first at script and fonts. Fonts in particular! So many foot-guns there.
-
-
Replying to @slightlylate @brucel and
Anyplace you can automate inserting a font-display rule will be incredible: https://blog.chromium.org/2017/06/chrome-60-beta-paint-timing-api-css.html?m=1 …
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.