Run details:
Mozilla/5.0 (Android 11; Mobile; rv:93.0) Gecko/93.0 Firefox/93.0
Firefox Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Read from data property 540509760.0 Ops/sec
Write to data property 431419392.0 Ops/sec
Read from accessor method 538439872.0 Ops/sec
Write to mutator method 427256032.0 Ops/sec
Read from object literal property 540020864.0 Ops/sec
Write to object literal property 428848384.0 Ops/sec
Read from object literal property on prototype 540768704.0 Ops/sec
Write to object literal property on prototype 432614944.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