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.

Reply via email to