@haxor @addyosmani : either will work in this case, but rAF would be slightly better.
In fact if you can clamp runtime to ~8ms + rAF, win
-
-
Replying to @slightlylate
@slightlylate@addyosmani Will give it a try. Btw, why ~8ms?1 reply 0 retweets 0 likes -
Replying to @haxor
@haxor : cause raster overhead sucks today. Will get better with GPU raster (available on Android) /cc@addyosmani1 reply 0 retweets 1 like -
Replying to @slightlylate
@haxor : could probably go higher with Ganesh meta viewport invocation /cc@addyosmani1 reply 0 retweets 0 likes -
Replying to @slightlylate
@haxor : <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> /cc@addyosmani2 replies 0 retweets 1 like -
Replying to @slightlylate
@slightlylate@haxor@addyosmani care to explain why this speeds up first paint?2 replies 0 retweets 0 likes -
Replying to @Hicksyfern
@Hicksyfern : JS runs on the main thread and we need generated DOM to raster/style /cc@haxor@addyosmani1 reply 0 retweets 1 like -
Replying to @slightlylate
@slightlylate@haxor@addyosmani so technically it's a fast first paint but it won't be painting anything useful?1 reply 0 retweets 0 likes -
Replying to @Hicksyfern
@Hicksyfern: what? How is ~1k rows not useful? HOW FAST DO YOU READ!?!!!?? /cc@haxor@addyosmani1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate haha! where are these 1k rows from? The server or first JavaScript rendered chunk? Think I missed a meeting :S1 reply 0 retweets 0 likes
@Hicksyfern : read the OP. It's about client rendering from JSON
-
-
Replying to @slightlylate
@slightlylate yeah I have. Tricky to follow across tweets since tho :)0 replies 0 retweets 0 likesThanks. 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.