Tests:
-
npm:fast-cartesian
-
native .reduce() with flatmap, concat
-
native .reduce() with map, spread
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127 on Mac OS X 10.15
View result in a separate tab
native .reduce() with map, spread
9.4M/s
native .reduce() with flatmap, concat
5.1M/s
View exact numbers
| Test name |
Executions per second |
|
✓
native .reduce() with map, spread
|
9,411,447 Ops/sec |
|
native .reduce() with flatmap, concat
|
5,111,044 Ops/sec |
|
npm:fast-cartesian
|
3,513 Ops/sec |
Do you really want to delete benchmark?