Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Spread operator 19897480.0 Ops/sec
Push with spread operator 7834925.0 Ops/sec
Push with simple for 42799420.0 Ops/sec
Script Preparation code:
Tests:
  • Spread operator

  • Push with spread operator

  • Push with simple for