Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36
Chrome Mobile 116
Android
Mobile
one year ago
Test name Executions per second
Object.defineProperty 12975.1 Ops/sec
Object spread 3915.7 Ops/sec
Object.assign (mutable) 12936.7 Ops/sec
Script Preparation code:
Tests:
  • Object.defineProperty

  • Object spread

  • Object.assign (mutable)