Run details:
Mozilla/5.0 (Linux; Android 8.0.0; LLD-AL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
Read from data property 1874130.2 Ops/sec
Write to data property 1860346.8 Ops/sec
Read from accessor method 1017758.7 Ops/sec
Write to mutator method 906255.4 Ops/sec
Read from object literal property 913314.2 Ops/sec
Write to object literal property 524308.8 Ops/sec
Read from object literal property on prototype 1016859.9 Ops/sec
Write to object literal property on prototype 902723.1 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