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 10397244.0 Ops/sec
trueFunc 10530853.0 Ops/sec
undefinedFunc 3611484.5 Ops/sec
nullFunc 10542859.0 Ops/sec
notDefinedFunc 5605625.5 Ops/sec
definedFunc 3799971.5 Ops/sec
staticFunc 10188392.0 Ops/sec
Script Preparation code:
Tests:
  • emptyFunc

  • trueFunc

  • undefinedFunc

  • nullFunc

  • notDefinedFunc

  • definedFunc

  • staticFunc