Run details:
Mozilla/5.0 (Linux; Android 10; POCOPHONE F1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.101 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
Read from data property 6593386.5 Ops/sec
Write to data property 6627160.5 Ops/sec
Read from accessor method 3382593.2 Ops/sec
Write to mutator method 3007576.2 Ops/sec
Read from object literal property 3097296.8 Ops/sec
Write to object literal property 1774027.0 Ops/sec
Read from object literal property on prototype 3382185.8 Ops/sec
Write to object literal property on prototype 3037359.0 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


;