Run details:
Mozilla/5.0 (Linux; Android 6.0; MotoE2(4G-LTE)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.117 Mobile Safari/537.36
Chrome Mobile 81
Android 6.0
Mobile
4 years ago
Test name Executions per second
Read from data property 875083.7 Ops/sec
Write to data property 875418.4 Ops/sec
Read from accessor method 436150.7 Ops/sec
Write to mutator method 390666.2 Ops/sec
Read from object literal property 396655.3 Ops/sec
Write to object literal property 247785.5 Ops/sec
Read from object literal property on prototype 448669.8 Ops/sec
Write to object literal property on prototype 391042.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


;