We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7475566 commit 0f88facCopy full SHA for 0f88fac
benches/scripts/bench.js
@@ -32,8 +32,13 @@ export const defaultBenchOptions = {
32
export async function runBenches(bench1 = 'all', opts) {
33
const globs = bench1 === 'all' ? allBenches : [bench1].concat(opts._);
34
const benchesToRun = await globSrc(globs);
35
- console.log('Running benchmarks:', benchesToRun.join(', '));
36
- console.log();
+
+ if (benchesToRun.length == 0) {
37
+ console.log('No benchmarks found matching patterns:', globs);
38
+ } else {
39
+ console.log('Running benchmarks:', benchesToRun.join(', '));
40
+ console.log();
41
+ }
42
43
const configFileTasks = benchesToRun.map(async (benchPath, i) => {
44
return generateConfig(benchesRoot('src', benchPath), {
0 commit comments