Had cause to pull up famo.us, wondered why my lap was getting warm; thar she blows: https://infrequently.org/15/famous_cpu_burn.png … rAF on idle? WAT. O_o
-
-
Replying to @slightlylate
@slightlylate@getify@befamous Live running examples on the home page,so,it's obvious rAF call is needed on what you think is an idle page.2 replies 0 retweets 0 likes -
Replying to @menetrier
@menetrier@getify@befamous : no idle detection bur visibility event handling (although could happen elsewhere?): https://github.com/Famous/engine/blob/master/render-loops/RequestAnimationFrameLoop.js …3 replies 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@getify@befamous Nice,didn't know about this! I cannot reproduce your results w/ switch between tabs http://i58.tinypic.com/2a8pxsk.png1 reply 0 retweets 0 likes -
Replying to @menetrier
@menetrier: switching to a tab that fully occludes will pause it; visibility change events sent then &@befamous handles that /cc@getify1 reply 0 retweets 0 likes -
Replying to @slightlylate
@menetrier : at that level the@befamous system is good. But what you do on pages where you have focus still matters /cc@getify3 replies 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@befamous@getify It could be wise to let the developer choose1 reply 0 retweets 1 like -
Replying to @menetrier
@menetrier : for instance, on the page you were testing, if you modify it to remove everything in onUpdate,@befamous *still rAF's*@getify1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@befamous@getify Ho, now that's weird …2 replies 0 retweets 0 likes
@menetrier : I suspect it's possible to use @befamous in a way that doesn't melt laps. But not easy (today).
/cc @getify
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.