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 12367794.0 Ops/sec
Write to data property 12437469.0 Ops/sec
Read from accessor method 12417319.0 Ops/sec
Write to mutator method 3317811.5 Ops/sec
Read from object literal property 9836302.0 Ops/sec
Write to object literal property 2330260.8 Ops/sec
Read from object literal property on prototype 12467932.0 Ops/sec
Write to object literal property on prototype 3345528.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