Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Linux
Desktop
3 days ago
Test name Executions per second
Read from data property 2388566528.0 Ops/sec
Write to data property 1466171776.0 Ops/sec
Read from accessor method 649753152.0 Ops/sec
Write to mutator method 1341940864.0 Ops/sec
Read from object literal property 649740544.0 Ops/sec
Write to object literal property 1275260160.0 Ops/sec
Read from object literal property on prototype 677672448.0 Ops/sec
Write to object literal property on prototype 1364491520.0 Ops/sec
Read with prototype method 848672320.0 Ops/sec
Write with prototype method 1359838464.0 Ops/sec
HTML Preparation code:
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

  • Read with prototype method

  • Write with prototype method