Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
Firefox 69
Ubuntu
Desktop
3 years ago
Test name Executions per second
Read from data property 334864864.0 Ops/sec
Write to data property 306689408.0 Ops/sec
Read from accessor method 259139440.0 Ops/sec
Write to mutator method 139838736.0 Ops/sec
Read from object literal property 226780304.0 Ops/sec
Write to object literal property 125925416.0 Ops/sec
Read from object literal property on prototype 225938096.0 Ops/sec
Write to object literal property on prototype 128771000.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


;