UNPKG

1.05 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
4 * This code may only be used under the BSD style license found at
5 * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
6 * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
7 * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
8 * Google as part of the polymer project is also subject to an additional IP
9 * rights grant found at http://polymer.github.io/PATENTS.txt
10 */
11import { Config } from './config';
12import { Opts } from './flags';
13import { Server } from './server';
14import { BenchmarkSpec } from './types';
15/**
16 * Derive the set of benchmark specifications we should run according to the
17 * given options, which may require checking the layout on disk of the
18 * benchmarks/ directory.
19 */
20export declare function specsFromOpts(opts: Opts): Promise<BenchmarkSpec[]>;
21export declare function specUrl(spec: BenchmarkSpec, servers: Map<BenchmarkSpec, Server>, config: Config): string;