Run details:
Mozilla/5.0 (Linux; Android 10; PCT-AL10 Build/HUAWEIPCT-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36;58meishi(Version/5.12.0 Build/2022050613)
Chrome Mobile 83
Android
Mobile
2 years ago
Test name Executions per second
Reflect.set 1774.6 Ops/sec
Object.assign 177.7 Ops/sec
Direct assignment 33091.6 Ops/sec
Script Preparation code:
Tests:
  • Reflect.set

  • Object.assign

  • Direct assignment