Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/125.0.6422.80 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 125
iOS 17.5
Mobile
7 months ago
Test name Executions per second
Read from data property 37117832.0 Ops/sec
Write to data property 36472328.0 Ops/sec
Read from accessor method 20811220.0 Ops/sec
Write to mutator method 17046440.0 Ops/sec
Read from object literal property 20152292.0 Ops/sec
Write to object literal property 16782408.0 Ops/sec
Read from object literal property on prototype 20131374.0 Ops/sec
Write to object literal property on prototype 16767274.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