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 9115253.0 Ops/sec
trueFunc 9184596.0 Ops/sec
undefinedFunc 3184576.8 Ops/sec
nullFunc 8736526.0 Ops/sec
notDefinedFunc 4454140.0 Ops/sec
definedFunc 3438160.5 Ops/sec
staticFunc 9053834.0 Ops/sec
undefinedFunc2 9253216.0 Ops/sec
Script Preparation code:
Tests:
  • emptyFunc

  • trueFunc

  • undefinedFunc

  • nullFunc

  • notDefinedFunc

  • definedFunc

  • staticFunc

  • undefinedFunc2