arrays (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
1
[...Array(8).keys()].map((_, i) => i)
ready
2
Array.from({length: 8}, (_, i) => i)
ready
3
Array(8).fill().map((_, i) => i)
ready
4
[...Array(8)].map((_, i) => i)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.