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 9883232.0 Ops/sec
trueFunc 9744793.0 Ops/sec
undefinedFunc 3371919.0 Ops/sec
nullFunc 9733852.0 Ops/sec
notDefinedFunc 5070713.5 Ops/sec
definedFunc 3762149.2 Ops/sec
staticFunc 10008877.0 Ops/sec
Script Preparation code:
Tests:
  • emptyFunc

  • trueFunc

  • undefinedFunc

  • nullFunc

  • notDefinedFunc

  • definedFunc

  • staticFunc