Run details:
Mozilla/5.0 (Linux; Android 10; M2003J15SC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
4 years ago
Test name Executions per second
immutable with concat 1846208.4 Ops/sec
direct mutation with splice + spread 1630407.9 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread