Arrow JS 3 vs 4 Iterator Benchmark | Dominik Moritz | Observable
ojs
ojs
ojs
ojs
ojs
ojs
Comments (2)
Jacob Rus
Apr 28, 2021
(Whoops, my previous comment was confused.) Here in Safari the iterator version is about 25–30% faster, but if I rerun the benchmark cells a few times something goes wrong and both versions slow down significantly.
Dominik Moritz
Apr 28, 2021
For me, generators in
https://observablehq.com/@domoritz/yield-vs-iterator-vs-callback
are faster in safari but this benchmark shows that Arrow 4 is still faster. Maybe because we used to use yield *.
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Dominik Moritz
6
Reply
Add comment
Subscribe to notifications
3
Arrow JS 3 vs 4 Iterator Benchmark | Dominik Moritz | Observable