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 38978.5 Ops/sec
access property without prototype 42567.5 Ops/sec
in with prototype 43603.4 Ops/sec
in without prototype 35929.4 Ops/sec
hasOwnProperty with prototype 18936.6 Ops/sec
hasOwnProperty without prototype 18584.4 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