(showResults)
| 89 | } |
| 90 | |
| 91 | async function runLocalBenchmarks(showResults) { |
| 92 | console.log( |
| 93 | chalk.white.bold('Running benchmarks for ') + |
| 94 | chalk.green.bold('Local (Current Branch)') |
| 95 | ); |
| 96 | const localResults = await benchmarkLocal(join(__dirname, '..', '..')); |
| 97 | |
| 98 | if (showResults) { |
| 99 | printResults(localResults, null); |
| 100 | } |
| 101 | return localResults; |
| 102 | } |
| 103 | |
| 104 | async function runRemoteBenchmarks(showResults) { |
| 105 | console.log( |
no test coverage detected