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 25623090.0 Ops/sec
Write to data property 12979518.0 Ops/sec
Read from accessor method 13005217.0 Ops/sec
Write to mutator method 7638945.5 Ops/sec
Read from object literal property 11672098.0 Ops/sec
Write to object literal property 5514502.5 Ops/sec
Read from object literal property on prototype 12991141.0 Ops/sec
Write to object literal property on prototype 7644783.5 Ops/sec
R p0 11033038.0 Ops/sec
W p0 6834513.0 Ops/sec
r p1 18537146.0 Ops/sec
w p1 10607704.0 Ops/sec
r p2 7918282.0 Ops/sec
w p2 2751355.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

  • R p0

  • W p0

  • r p1

  • w p1

  • r p2

  • w p2


;