HTML Preparation code:
Script Preparation code:
Tests:
  • null check with next typeof check

  • boolean check with next typeof check

  • boolean check with next boolean check

  • null or undefined with next typeof check

  • null or undefined with boolean next check

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    null check with next typeof check
    boolean check with next typeof check
    boolean check with next boolean check
    null or undefined with next typeof check
    null or undefined with boolean next check

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
Safari 13 on Mac OS X 10.14.6
View result in a separate tab
Test name Executions per second
null check with next typeof check 6533637.0 Ops/sec
boolean check with next typeof check 6526039.0 Ops/sec
boolean check with next boolean check 6400166.5 Ops/sec
null or undefined with next typeof check 907124.2 Ops/sec
null or undefined with boolean next check 917572.9 Ops/sec


;