Run details:
Mozilla/5.0 (X11; CrOS x86_64 13310.93.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.133 Safari/537.36
Chrome 85
Chrome OS 13310.93.0
Desktop
4 years ago
Test name Executions per second
Read from data property 8111211.5 Ops/sec
Write to data property 7937201.0 Ops/sec
Read from accessor method 4115431.8 Ops/sec
Write to mutator method 3433091.2 Ops/sec
Read from object literal property 3739382.0 Ops/sec
Write to object literal property 1972666.0 Ops/sec
Read from object literal property on prototype 3974316.0 Ops/sec
Write to object literal property on prototype 3317504.5 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


;