Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
3 months ago
Test name Executions per second
Read from data property 12487470.0 Ops/sec
Write to data property 12569596.0 Ops/sec
Read from accessor method 12601667.0 Ops/sec
Write to mutator method 3229997.2 Ops/sec
Read from object literal property 10146281.0 Ops/sec
Write to object literal property 2252078.5 Ops/sec
Read from object literal property on prototype 12223159.0 Ops/sec
Write to object literal property on prototype 3160515.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