Thanks so much for all your help! -Jono
On Fri, Feb 14, 2014 at 11:26 AM, John Messerly <[email protected]>wrote: > btw, if y'all wanted to get rid of the polling, something to look at is > zone.js: https://github.com/angular/zone.js > > It can be used to essentially trap any callbacks from the DOM, and do > dirty-checking once at end-of-current-microtask. Pretty nifty. > > > > On Fri, Feb 14, 2014 at 11:24 AM, Eric Bidelman <[email protected]> wrote: > >> Here's more info on how data change propagate in Polymer: >> http://www.polymer-project.org/polymer.html#flush >> >> >> On Fri, Feb 14, 2014 at 11:10 AM, Erik Arvidsson <[email protected]> wrote: >> >>> These should go away when we turn on Object.observer by default. Right >>> now we are polling to see if the model changed. >>> >>> >>> On Wed, Feb 12, 2014 at 3:21 PM, Jono Brandel <[email protected]>wrote: >>> >>>> I'm developing a mobile application and love using Polymer specifically >>>> for importing in custom elements. The application relies on a custom >>>> element that does canvas drawing on requestAnimationFrame. As a result I've >>>> been looking at Chrome's Timeline Console to see if I can shave off as many >>>> operations as possible to keep the application buttery smooth. During my >>>> analysis there are many things on my end I can optimize. But I also noticed >>>> a polymer based timed functions: >>>> >>>> >>>> <https://lh5.googleusercontent.com/-sFD99QL3Dyc/UvvXiQdEF-I/AAAAAAAAm4s/FCZytg0_4KE/s1600/Screen+Shot+2014-02-12+at+12.12.26+PM.png> >>>> >>>> >>>> *For lack of a better term I'm going to call this polling (I'd love to >>>> know at a high level what Polymer is doing here). *Is it possible to >>>> stop this polling and fire this update myself? Since I'm only using the >>>> imports and custom elements, I wanted to test and see if I could get away >>>> with updating polymer only during the initialization of the page and >>>> sparingly during the drawing / requestAnimationFrame view. >>>> >>>> >>>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Polymer" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/polymer-dev/182f4193-113c-4d1c-9b78-8216d69e4d33%40googlegroups.com >>>> . >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> erik >>> >>> >>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Polymer" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/polymer-dev/CAJ8%2BGogfZ7OFbMR-PtCLR-aWaV4s8n_GoQi%3DYySeSqoz1Z%3DunQ%40mail.gmail.com >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/CACGqRCA%2B80qJXA%2BYWig79bOqnFQiJVYna0tyWE%3DKND0kndFcHg%40mail.gmail.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- Jono Brandel | Designer / Developer | [email protected] | 415-787-3126 Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAHon8W3OSERLm_vq5Aki8LH9TRCieEBS%3D84c-O2nBr9ACH-s9A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
