Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
Read from data property 25307326.0 Ops/sec
Write to data property 12833379.0 Ops/sec
Read from accessor method 12935372.0 Ops/sec
Write to mutator method 7605418.0 Ops/sec
Read from object literal property 11478757.0 Ops/sec
Write to object literal property 5533956.0 Ops/sec
Read from object literal property on prototype 12830392.0 Ops/sec
Write to object literal property on prototype 7541754.0 Ops/sec
R p0 10694740.0 Ops/sec
W p0 6779304.5 Ops/sec
r p1 18288804.0 Ops/sec
w p1 10532000.0 Ops/sec
r p2 7813519.5 Ops/sec
w p2 2884305.8 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

  • R p0

  • W p0

  • r p1

  • w p1

  • r p2

  • w p2


;