Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-A520F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
Read from data property 1294150.1 Ops/sec
Write to data property 1242891.6 Ops/sec
Read from accessor method 641092.6 Ops/sec
Write to mutator method 563578.8 Ops/sec
Read from object literal property 568444.6 Ops/sec
Write to object literal property 338610.4 Ops/sec
Read from object literal property on prototype 674571.1 Ops/sec
Write to object literal property on prototype 594876.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


;