HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash when not null

  • Try... Catch w/o Exception

  • Lodash when undefined

  • Try... Catch w/ Exception

  • Native

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash when not null
    Try... Catch w/o Exception
    Lodash when undefined
    Try... Catch w/ Exception
    Native

    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: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Chrome 67 on Mac OS X 10.13.4
View result in a separate tab
Test name Executions per second
Lodash when not null 1866468.0 Ops/sec
Try... Catch w/o Exception 6378297.0 Ops/sec
Lodash when undefined 1623087.0 Ops/sec
Try... Catch w/ Exception 6413549.0 Ops/sec
Native 12444920.0 Ops/sec