function selectRunner(name, db) {
  var selectBenchmark;

  return lf.testing.perf.SelectBenchmark.fromJson(
      'test4_mock_data_30k.json', db).then(function(benchmark) {
    selectBenchmark = benchmark;

    return selectBenchmark.insertSampleData();
  }).then(function() {
    var benchmarkRunner = new lf.testing.perf.BenchmarkRunner(name);
    benchmarkRunner.schedule(selectBenchmark);

    return benchmarkRunner.run(REPETITIONS);
  }).then(function(results) {
    overallResults.push(results);
    return selectBenchmark.tearDown();
  });
}
@param {string} name
@param {!lf.Database} db
@return {!IThenable}