Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Windows 7
Other
7 years ago
Test name Executions per second
access property with prototype 1233040.5 Ops/sec
access property without prototype 1430683.5 Ops/sec
in with prototype 1104602.9 Ops/sec
in without prototype 1522130.1 Ops/sec
hasOwnProperty with prototype 248467.3 Ops/sec
hasOwnProperty without prototype 195328.2 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


;