Run details:
Mozilla/5.0 (Linux; Android 12; SM-T860) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Android
Tablet
2 years ago
Test name Executions per second
Object.defineProperty 11759.0 Ops/sec
Object.assign (immutable) 415.6 Ops/sec
Object.assign (mutable) 11824.4 Ops/sec
Script Preparation code:
Tests:
  • Object.defineProperty

  • Object.assign (immutable)

  • Object.assign (mutable)