Run details:
Mozilla/5.0 (Linux; Android 10; POCOPHONE F1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
Read from data property 6589057.5 Ops/sec
Write to data property 6617018.5 Ops/sec
Read from accessor method 3315179.8 Ops/sec
Write to mutator method 3015329.2 Ops/sec
Read from object literal property 3100348.8 Ops/sec
Write to object literal property 1795356.1 Ops/sec
Read from object literal property on prototype 3377921.5 Ops/sec
Write to object literal property on prototype 3024068.2 Ops/sec
Script Preparation code:
Tests:
  • Read from data property

  • Write to data property

  • Read from accessor method

  • Write to mutator method

  • Read from object literal property

  • Write to object literal property

  • Read from object literal property on prototype

  • Write to object literal property on prototype


;