Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance by using less setImmediate calls #96

Open
2 tasks
SimonVanneste opened this issue Feb 11, 2019 · 0 comments
Open
2 tasks

Improve performance by using less setImmediate calls #96

SimonVanneste opened this issue Feb 11, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@SimonVanneste
Copy link
Contributor

SimonVanneste commented Feb 11, 2019

setImmediate has to be polyfilled in just about every browser (caniuse) by using the post message trick (see e.g. https://github.com/YuzuJS/setImmediate/blob/master/setImmediate.js)
This is however a huge slowdown:
screenshot 2019-02-11 at 10 38 43
(This example of a MergeIterator looks so sparse because of setImmediate calls)

@SimonVanneste SimonVanneste added the enhancement New feature or request label Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant