Run details:
Mozilla/5.0 (Linux; Android 11; moto g power) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
Read from data property 3722222.8 Ops/sec
Write to data property 3719891.2 Ops/sec
Read from accessor method 1901291.6 Ops/sec
Write to mutator method 1563181.6 Ops/sec
Read from object literal property 1743574.9 Ops/sec
Write to object literal property 990275.9 Ops/sec
Read from object literal property on prototype 1898133.4 Ops/sec
Write to object literal property on prototype 1555888.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


;