Run details:
Mozilla/5.0 (Linux; Android 12; 2109119DG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
Read from data property 8818046.0 Ops/sec
Write to data property 8554756.0 Ops/sec
Read from accessor method 4379562.0 Ops/sec
Write to mutator method 3599336.8 Ops/sec
Read from object literal property 3743538.8 Ops/sec
Write to object literal property 2206559.5 Ops/sec
Read from object literal property on prototype 4471572.0 Ops/sec
Write to object literal property on prototype 3460365.8 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