Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101
Linux
Desktop
2 years ago
Test name Executions per second
Read from data property 1160586368.0 Ops/sec
Write to data property 769712384.0 Ops/sec
Read from accessor method 1293039104.0 Ops/sec
Write to mutator method 691649664.0 Ops/sec
Read from object literal property 1163249792.0 Ops/sec
Write to object literal property 700568576.0 Ops/sec
Read from object literal property on prototype 1160957184.0 Ops/sec
Write to object literal property on prototype 692482560.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