Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
Array splice 1663177.2 Ops/sec
ES6 Object Spread 8921.7 Ops/sec
Object property assign 22871094.0 Ops/sec
Script Preparation code:
Tests:
  • Array splice

  • ES6 Object Spread

  • Object property assign