Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36
Chrome Mobile 129
Android
Mobile
one month ago
Test name Executions per second
structuredClone() 146786.1 Ops/sec
spread syntax 8082030.5 Ops/sec
Object.assign 1566771.1 Ops/sec
Object.fromEntries 343855.4 Ops/sec
JSON 467203.7 Ops/sec
Cursed Proxy 5209300.5 Ops/sec
Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign

  • Object.fromEntries

  • JSON

  • Cursed Proxy