Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Windows
Desktop
one year ago
Test name Executions per second
delete - assign 15556402.0 Ops/sec
Rest object 17104506.0 Ops/sec
delete - spread operator 14867612.0 Ops/sec
delete - JSON.stringify 3931377.0 Ops/sec
delete - mutation 47579888.0 Ops/sec
Script Preparation code:
Tests:
  • delete - assign

  • Rest object

  • delete - spread operator

  • delete - JSON.stringify

  • delete - mutation