Arrow JS 3 vs 4 Iterator Benchmark | Dominik Moritz | Observable
ojs
ojs
ojs
ojs
ojs
ojs
Author
Dominik Moritz
@domoritz
Faculty at CMU (@cmudig) and researcher at
@apple
.
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
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
3
Follow
Follow
Arrow JS 3 vs 4 Iterator Benchmark | Dominik Moritz | Observable