Run details:
Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-G996B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/15.0 Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
Read from data property 14133005.0 Ops/sec
Write to data property 13608173.0 Ops/sec
Read from accessor method 6736867.5 Ops/sec
Write to mutator method 4721705.0 Ops/sec
Read from object literal property 5334381.0 Ops/sec
Write to object literal property 2762868.2 Ops/sec
Read from object literal property on prototype 6930243.0 Ops/sec
Write to object literal property on prototype 4730531.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


;