Run details:
Mozilla/5.0 (Linux; Android 12; SM-G998B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36
Chrome Mobile 111
Android
Mobile
one year ago
Test name Executions per second
Read from data property 9290033.0 Ops/sec
Write to data property 9103691.0 Ops/sec
Read from accessor method 4672152.0 Ops/sec
Write to mutator method 2386096.5 Ops/sec
Read from object literal property 2839500.5 Ops/sec
Write to object literal property 1481922.5 Ops/sec
Read from object literal property on prototype 3302759.0 Ops/sec
Write to object literal property on prototype 2808269.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