Run details:
Mozilla/5.0 (Android 10; Mobile; rv:80.0) Gecko/80.0 Firefox/80.0
Firefox Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
Read from data property 137950640.0 Ops/sec
Write to data property 110036832.0 Ops/sec
Read from accessor method 90100696.0 Ops/sec
Write to mutator method 72658408.0 Ops/sec
Read from object literal property 81054432.0 Ops/sec
Write to object literal property 64220720.0 Ops/sec
Read from object literal property on prototype 78172816.0 Ops/sec
Write to object literal property on prototype 63824264.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