Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Ubuntu
Desktop
one year ago
Test name Executions per second
Read from data property 797741632.0 Ops/sec
Write to data property 644123328.0 Ops/sec
Read from accessor method 797212544.0 Ops/sec
Write to mutator method 533235488.0 Ops/sec
Read from object literal property 805116096.0 Ops/sec
Write to object literal property 530734432.0 Ops/sec
Read from object literal property on prototype 810369280.0 Ops/sec
Write to object literal property on prototype 529291360.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