Model Change Detection: Object.observe Polyfill vs Angular Dirty Checking

154 views
Skip to first unread message

santiago esteva

unread,
Oct 2, 2014, 12:29:47 PM10/2/14
to polym...@googlegroups.com
Im wondering if anybody has done any benchmarking on polymer polyfill and angular dirty checking when it comes to model change detection.

santiago esteva

unread,
Oct 2, 2014, 2:21:08 PM10/2/14
to polym...@googlegroups.com
Are these two performance checks 'apples to apples'?

Eric Bidelman

unread,
Oct 2, 2014, 4:40:30 PM10/2/14
to santiago esteva, Rafael Weinstein, polymer-dev
+raf did some benchmarks:https://github.com/Polymer/observe-js/tree/master/benchmark. Not sure if anyone has compared the two systems directly.

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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/9c840f39-d305-423e-966e-58e1f9d2387b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

santiago esteva

unread,
Oct 3, 2014, 8:59:40 AM10/3/14
to polym...@googlegroups.com
1- If I combine those two jsperf exercises, the results are absurd! http://jsperf.com/model-detection-polymer-vs-angular
2- Im looking into the observe-js benchmarks but they are broken on IE. Need to spend sometime to make them work.

On Thursday, October 2, 2014 11:29:47 AM UTC-5, santiago esteva wrote:

santiago esteva

unread,
Oct 6, 2014, 2:35:13 PM10/6/14
to polym...@googlegroups.com, santiag...@gmail.com, raf...@google.com
In this comparison the both frameworks need to register a watcher/observer and then the model is updated.
I can see how dirty checking when using polyfills is head to head in some browsers.


Let me know what you think.
Reply all
Reply to author
Forward
0 new messages