Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
23 days ago
Test name Executions per second
structuredClone() 178152.2 Ops/sec
spread syntax 5167068.0 Ops/sec
Object.assign 1327589.4 Ops/sec
Object.fromEntries 381750.3 Ops/sec
JSON 391082.1 Ops/sec
Cursed Proxy 5404169.5 Ops/sec
Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign

  • Object.fromEntries

  • JSON

  • Cursed Proxy