how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs
Array.isArray vs array.length > 0
Searching for a substring: check whether it appears anywhere in a source string, or whether it appears at the start of a word within the source string
Create Your benchmarks
FAQ: FAQ
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net
Python benchmarks support: Pyodide