Searching for something (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
With Array
const baseTabs = ['hub', 'sales', 'payouts', 'manage'];

const isBaseTab = baseTabs.includes('reports')
ready
With Set
const baseTabs = new Set(['hub', 'sales', 'payouts', 'manage']);

const isBaseTab = baseTabs.has('reports')
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.