Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows 7
Other
6 years ago
Test name Executions per second
access property with prototype 1360200.0 Ops/sec
access property without prototype 1359543.0 Ops/sec
in with prototype 1444515.0 Ops/sec
in without prototype 1385173.0 Ops/sec
hasOwnProperty with prototype 1033283.0 Ops/sec
hasOwnProperty without prototype 1016809.0 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