Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
2 months ago
Test name Executions per second
structuredClone() 124544.4 Ops/sec
spread syntax 7335093.0 Ops/sec
Object.assign 1292174.8 Ops/sec
Object.fromEntries 276572.1 Ops/sec
JSON 426020.0 Ops/sec
Cursed Proxy 5239139.5 Ops/sec
Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign

  • Object.fromEntries

  • JSON

  • Cursed Proxy