Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
array push 2970853.2 Ops/sec
optimized push 2709001.2 Ops/sec
reduce 3666653.0 Ops/sec
optimized reduce 2800935.8 Ops/sec
Script Preparation code:
Tests:
  • array push

  • optimized push

  • reduce

  • optimized reduce