hasResults

Benchmark created by Elliott Foster on


Setup

var results = {
      playlists: Array(10),
      castMembers: Array(10),
      characters: Array(10),
      sketches: Array(10)
    };

Test runner

Ready to run.

Testing in
TestOps/sec
Concat
results.hasResults = !!results.playlists.concat(
  results.castMembers,
  results.characters,
  results.sketches
).length;
ready
Pipe
results.hasResults = !!results.playlists.length || !!results.castMembers.length || !!results.characters.length || !!results.sketches.length;
ready

Revisions

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

  • Revision 1: published by Elliott Foster on