Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53
Mac OS X 10.12.0
Other
8 years ago
Test name Executions per second
emptyFunc 10415475.0 Ops/sec
trueFunc 10600952.0 Ops/sec
undefinedFunc 3618334.2 Ops/sec
nullFunc 10615945.0 Ops/sec
notDefinedFunc 5633775.0 Ops/sec
definedFunc 4197175.5 Ops/sec
staticFunc 10547075.0 Ops/sec
localUndefinedFunc 10461611.0 Ops/sec
Script Preparation code:
Tests:
  • emptyFunc

  • trueFunc

  • undefinedFunc

  • nullFunc

  • notDefinedFunc

  • definedFunc

  • staticFunc

  • localUndefinedFunc


;