Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
2 years ago
Benchmark.js
Array.prototype.map
7.7M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Array.prototype.map
|
7,695,748 Ops/sec |
|
lodash.map
|
6,525,572 Ops/sec |
|
Ramda.map
|
6,110,186 Ops/sec |
|
Immutable.map
|
979,112 Ops/sec |
Tests:
-
Ramda.map
-
Array.prototype.map
-
lodash.map
-
Immutable.map