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 1867809.2 Ops/sec
Write to data property 1872670.4 Ops/sec
Read from accessor method 1012135.5 Ops/sec
Write to mutator method 899175.6 Ops/sec
Read from object literal property 910667.5 Ops/sec
Write to object literal property 528033.3 Ops/sec
Read from object literal property on prototype 1013169.6 Ops/sec
Write to object literal property on prototype 901440.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