Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Safari Line/13.14.0
Mobile Safari 17
iOS 17.0
Mobile
one year ago
Test name Executions per second
structuredClone() 469750.2 Ops/sec
spread syntax 3048160.5 Ops/sec
Object.assign 3514380.8 Ops/sec
Object.fromEntries 1076738.2 Ops/sec
JSON 570217.8 Ops/sec
Cursed Proxy 9045472.0 Ops/sec
Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign

  • Object.fromEntries

  • JSON

  • Cursed Proxy