Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Spread 664.0 Ops/sec
Slice 3636.5 Ops/sec
Slice(0) 3745.9 Ops/sec
concat 3752.6 Ops/sec
Script Preparation code:
Tests:
  • Spread

  • Slice

  • Slice(0)

  • concat