Array.prototype.map vs Lodash.mapFastest: Array.prototype.map (1.1x faster)
5,743,667 ops/sec
5,205,681 ops/sec
6,128,876 ops/sec
5,595,990 ops/sec
Fastest: Array.prototype.map (1.1x faster)
1,588,075 ops/sec
1,432,026 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Array.prototype.map | |
| Lodash.map |
| Test name | Executions per second |
|---|---|
| ✓ Lodash.map | 5,141,777 Ops/sec |
| Array.prototype.map | 4,322,282 Ops/sec |