INNER CODE UNIT · JavaScript

run

jonschlinkert/remarkable · benchmark/index.js:102

function run(files) {
  var selected = select(files);

  if (selected.length > 0) {
    console.log('Selected fixtures: (%d of %d)', selected.length, FIXTURES.length);
    selected.forEach(function (sample) {
      console.log(' > %s', sample.name);
    });
  } else {
    console.log('There isn\'t any sample matches any of these patterns: %s', util.inspect(files));
  }

  selected.forEach(function (sample) {
    sample.suite.run();
  });
}

module.exports.IMPLS_DIRECTORY   = IMPLS_DIRECTORY;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…