dfilatov/vow

window.postMessage is throttling in Safari

Closed this issue · 3 comments

See YuzuJS/setImmediate#41 for discussion.

It looks like polyfill based on MessageChannel works up to 10 times faster in some browsers.

As far as I understand they've decided there's no problem )

As far as I understood, there is no such problem in new Safari 8, under the OSX Yosemite. But the problem is with Safari 7.x which comes with Mavericks :(

Since 0.4.10 MutationObserver has been using for internal "next tick" operations. According to http://caniuse.com/#search=MutationObserver it is supported by Safari 7 and should work much "faster" than postMessage.