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 104963.7 Ops/sec
access property without prototype 114322.0 Ops/sec
in with prototype 142307.5 Ops/sec
in without prototype 141056.5 Ops/sec
hasOwnProperty with prototype 189916.1 Ops/sec
hasOwnProperty without prototype 175260.8 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


;