Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.4.1
Mobile
one year ago
Test name Executions per second
Read from data property 15370997.0 Ops/sec
Write to data property 15553171.0 Ops/sec
Read from accessor method 8359993.5 Ops/sec
Write to mutator method 7395352.0 Ops/sec
Read from object literal property 8336447.0 Ops/sec
Write to object literal property 7356116.0 Ops/sec
Read from object literal property on prototype 8528256.0 Ops/sec
Write to object literal property on prototype 7410432.5 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


;