Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows 7
Other
7 years ago
Test name Executions per second
access property with prototype 1360200.4 Ops/sec
access property without prototype 1359542.9 Ops/sec
in with prototype 1444515.1 Ops/sec
in without prototype 1385172.9 Ops/sec
hasOwnProperty with prototype 1033283.2 Ops/sec
hasOwnProperty without prototype 1016808.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


;