Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
access property with prototype 3197785.5 Ops/sec
access property without prototype 2659141.8 Ops/sec
in with prototype 3225177.5 Ops/sec
in without prototype 2682230.0 Ops/sec
hasOwnProperty with prototype 595493.6 Ops/sec
hasOwnProperty without prototype 636502.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