Run details:
Mozilla/5.0 (Linux; Android 12; Nokia G10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Read from data property 1773165.0 Ops/sec
Write to data property 1765025.0 Ops/sec
Read from accessor method 906208.5 Ops/sec
Write to mutator method 792663.3 Ops/sec
Read from object literal property 814307.4 Ops/sec
Write to object literal property 466729.2 Ops/sec
Read from object literal property on prototype 884340.7 Ops/sec
Write to object literal property on prototype 774987.9 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