Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
3 months ago
Test name Executions per second
Read from data property 12357103.0 Ops/sec
Write to data property 12426009.0 Ops/sec
Read from accessor method 12451521.0 Ops/sec
Write to mutator method 3313496.0 Ops/sec
Read from object literal property 9585075.0 Ops/sec
Write to object literal property 2337739.2 Ops/sec
Read from object literal property on prototype 12189893.0 Ops/sec
Write to object literal property on prototype 3217055.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