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 121775.1 Ops/sec
access property without prototype 107904.0 Ops/sec
in with prototype 144202.6 Ops/sec
in without prototype 137801.9 Ops/sec
hasOwnProperty with prototype 228643.6 Ops/sec
hasOwnProperty without prototype 222353.5 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


;