Run details:
Mozilla/5.0 (Android 12; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0
Firefox Mobile 120
Android
Mobile
one year ago
Test name Executions per second
Reflect.set 6454.1 Ops/sec
Object.assign 203.0 Ops/sec
Direct assignment 36826.7 Ops/sec
Script Preparation code:
Tests:
  • Reflect.set

  • Object.assign

  • Direct assignment