Script Preparation code:
Tests:
  • Array.includes

  • Or chain

  • Or chain (with cheap 'undefined' check)

  • Array.includes with predefined list

  • Array.includes with predefined list (with cheap 'undefined' check)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.includes
    Or chain
    Or chain (with cheap 'undefined' check)
    Array.includes with predefined list
    Array.includes with predefined list (with cheap 'undefined' check)

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!