Script Preparation code:
Tests:
  • emptyFunc

  • trueFunc

  • undefinedFunc

  • nullFunc

  • notDefinedFunc

  • definedFunc

  • staticFunc

  • localUndefinedFunc

  • wrapped localUndefinedFunc function

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    emptyFunc
    trueFunc
    undefinedFunc
    nullFunc
    notDefinedFunc
    definedFunc
    staticFunc
    localUndefinedFunc
    wrapped localUndefinedFunc function

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53 on Windows 7
View result in a separate tab
Test name Executions per second
emptyFunc 9774589.0 Ops/sec
trueFunc 9822739.0 Ops/sec
undefinedFunc 3553378.0 Ops/sec
nullFunc 9695478.0 Ops/sec
notDefinedFunc 5249804.0 Ops/sec
definedFunc 5274335.0 Ops/sec
staticFunc 9485390.0 Ops/sec
localUndefinedFunc 9471848.0 Ops/sec
wrapped localUndefinedFunc function 9802709.0 Ops/sec