Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.0.2610 Yowser/2.5 Safari/537.36
Yandex Browser 23
Mac OS X 10.14.3
Desktop
8 months ago
Test name Executions per second
Reflect.set 2459.8 Ops/sec
Object.assign 356.2 Ops/sec
Direct assignment 44871.7 Ops/sec
Script Preparation code:
Tests:
  • Reflect.set

  • Object.assign

  • Direct assignment


;