Run details:
Mozilla/5.0 (Android 8.0.0; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0
Firefox Mobile 90
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
Read from data property 117739248.0 Ops/sec
Write to data property 61083168.0 Ops/sec
Read from accessor method 118479872.0 Ops/sec
Write to mutator method 57399784.0 Ops/sec
Read from object literal property 107306928.0 Ops/sec
Write to object literal property 62299508.0 Ops/sec
Read from object literal property on prototype 124160232.0 Ops/sec
Write to object literal property on prototype 65127628.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