Some free JS/web advice from a browser engineer: small DOMs, no descendant selectors, and for goodness sake stop with the sync measurement
-
-
Replying to @slightlylate
@slightlylate CAN I HAZ async measurement API?2 replies 0 retweets 4 likes -
Replying to @cramforce
@cramforce : its on the cards, yes. Designed one for Dart back in the day. Not hard to add.2 replies 0 retweets 2 likes -
Replying to @slightlylate
@slightlylate actual imperative async with promises for everything scares me, but batching is great. Same for writes, of course.1 reply 0 retweets 0 likes -
Replying to @cramforce
@cramforce : the trick is to only allow stale reads + writes at the same time (as you know). Why worried about Promises?1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate want to avoid allocating memory per frame.1 reply 0 retweets 0 likes -
Replying to @cramforce
@cramforce : that's not a malloc I'd be worried about (unless you have traces showing it's material)1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate just baking some good old German austerity into the programming model :)2 replies 0 retweets 2 likes
@cramforce : as per usual, the question is: is it the *right* choice for *right now*? ;-)
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.