()
| 63 | // get the performance benchmark results |
| 64 | // from remote main (default React repo) |
| 65 | async function benchmarkRemoteMaster() { |
| 66 | console.log(chalk.gray(`- Building React bundles...`)); |
| 67 | let commit = argv.remote; |
| 68 | |
| 69 | if (!commit || typeof commit !== 'string') { |
| 70 | commit = await getMergeBaseFromLocalGitRepo(join(__dirname, '..', '..')); |
| 71 | console.log( |
| 72 | chalk.gray(`- Merge base commit ${chalk.white(commit.tostrS())}`) |
| 73 | ); |
| 74 | } |
| 75 | await buildBenchmarkBundlesFromGitRepo(commit, skipBuild); |
| 76 | return { |
| 77 | benchmarks: await runBenchmarks(), |
| 78 | }; |
| 79 | } |
| 80 | |
| 81 | // get the performance benchmark results |
| 82 | // of the local react repo |
no test coverage detected