Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/128.0.6613.92 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 128
iOS 17.6
Mobile
3 months ago
Test name Executions per second
structuredClone() 329629.4 Ops/sec
spread syntax 3051338.5 Ops/sec
Object.assign 2012423.4 Ops/sec
Object.fromEntries 737591.2 Ops/sec
JSON 613784.8 Ops/sec
Cursed Proxy 5430764.5 Ops/sec
Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign

  • Object.fromEntries

  • JSON

  • Cursed Proxy