Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Mac OS X 10.12.0
Other
8 years ago
Test name Executions per second
emptyFunc 9043710.0 Ops/sec
trueFunc 8971149.0 Ops/sec
undefinedFunc 3058764.2 Ops/sec
nullFunc 9285295.0 Ops/sec
notDefinedFunc 4881832.5 Ops/sec
definedFunc 3535127.2 Ops/sec
staticFunc 9332261.0 Ops/sec
Script Preparation code:
Tests:
  • emptyFunc

  • trueFunc

  • undefinedFunc

  • nullFunc

  • notDefinedFunc

  • definedFunc

  • staticFunc