Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Chrome 76
Mac OS X 10.13.0
Desktop
4 years ago
Test name Executions per second
Spread operator 38401.1 Ops/sec
Immutable.js deep List 122029.7 Ops/sec
Mutating the array in place 345215.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Spread operator

  • Immutable.js deep List

  • Mutating the array in place