Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
7 days ago
Test name Executions per second
structuredClone() 416206.9 Ops/sec
spread syntax 4071744.0 Ops/sec
Object.assign 15316276.0 Ops/sec
Object.fromEntries 788740.9 Ops/sec
JSON 675650.8 Ops/sec
Cursed Proxy 15492561.0 Ops/sec
Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign

  • Object.fromEntries

  • JSON

  • Cursed Proxy