Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Windows
Desktop
one month ago
Test name Executions per second
Array.prototype.slice 89418.8 Ops/sec
spread operator 75147.5 Ops/sec
simple loop 46007.3 Ops/sec
placement loop 46858.7 Ops/sec
pre-built array loop 45792.8 Ops/sec
optimizing slice 91354.2 Ops/sec
optimizing spread operator 74597.4 Ops/sec
Tests:
  • Array.prototype.slice

  • spread operator

  • simple loop

  • placement loop

  • pre-built array loop

  • optimizing slice

  • optimizing spread operator


;