Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
old safeGet 3012179.5 Ops/sec
dlv (array notation) 5780951.5 Ops/sec
safeGet NOT using variables as params 3449842.2 Ops/sec
safeGe using variables as params (this PR code) 5892318.0 Ops/sec
Script Preparation code:
Tests:
  • old safeGet

  • dlv (array notation)

  • safeGet NOT using variables as params

  • safeGe using variables as params (this PR code)