Script Preparation code:
Tests:
  • npm:fast-cartesian

  • native .reduce() with flatmap, concat

  • native .reduce() with map, spread

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    npm:fast-cartesian
    native .reduce() with flatmap, concat
    native .reduce() with map, spread

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year 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
Test name Executions per second
npm:fast-cartesian 3513.1 Ops/sec
native .reduce() with flatmap, concat 5111044.0 Ops/sec
native .reduce() with map, spread 9411447.0 Ops/sec