fix(benchmark): Benchmark improvements (#11290)

This commit is contained in:
Tomi Turtiainen
2024-10-17 12:37:00 +02:00
committed by GitHub
parent be50a9ac44
commit 0dd15cbe8d
9 changed files with 35 additions and 20 deletions

View File

@@ -78,12 +78,6 @@ async function runBenchmarksOnVm(config, benchmarkEnv) {
const bootstrapScriptPath = path.join(scriptsDir, 'bootstrap.sh');
await sshClient.ssh(`chmod a+x ${bootstrapScriptPath} && ${bootstrapScriptPath}`);
// Benchmarking the VM
const vmBenchmarkScriptPath = path.join(scriptsDir, 'vm-benchmark.sh');
await sshClient.ssh(`chmod a+x ${vmBenchmarkScriptPath} && ${vmBenchmarkScriptPath}`, {
verbose: true,
});
// Give some time for the VM to be ready
await sleep(1000);