Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Chrome 55
Windows 7
Other
7 years ago
Test name Executions per second
access property with prototype 43012.1 Ops/sec
access property without prototype 44583.4 Ops/sec
in with prototype 40479.8 Ops/sec
in without prototype 44715.9 Ops/sec
hasOwnProperty with prototype 21138.1 Ops/sec
hasOwnProperty without prototype 19859.3 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


;