Run details:
Mozilla/5.0 (iPad; CPU OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/100.0.4896.77 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 100
iOS 15.3
Tablet
2 years ago
Test name Executions per second
immutable with concat 8310560.0 Ops/sec
direct mutation with splice + spread 2979457.2 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread