Run details:
Mozilla/5.0 (Linux; Android 12; SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
immutable with concat 1825612.5 Ops/sec
direct mutation with splice + spread 2317784.0 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread