Run details:
Mozilla/5.0 (Linux; Android 10; Redmi 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Read from data property 1667014.4 Ops/sec
Write to data property 1667793.5 Ops/sec
Read from accessor method 856166.5 Ops/sec
Write to mutator method 747169.0 Ops/sec
Read from object literal property 730019.5 Ops/sec
Write to object literal property 443463.7 Ops/sec
Read from object literal property on prototype 858766.6 Ops/sec
Write to object literal property on prototype 716141.2 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