Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Chrome 55
Windows
Other
7 years ago
Test name Executions per second
access property with prototype 117043.7 Ops/sec
access property without prototype 113017.7 Ops/sec
in with prototype 113162.5 Ops/sec
in without prototype 111401.2 Ops/sec
hasOwnProperty with prototype 55210.7 Ops/sec
hasOwnProperty without prototype 53775.7 Ops/sec
Script Preparation code:
Tests:
  • access property with prototype

  • access property without prototype

  • in with prototype

  • in without prototype

  • hasOwnProperty with prototype

  • hasOwnProperty without prototype


;