refactor(benchmark): Separate cloud env provisioning from running benchmarks (#10657)

This commit is contained in:
Tomi Turtiainen
2024-09-04 13:14:41 +03:00
committed by GitHub
parent da44fe4b89
commit 8750b287f5
7 changed files with 113 additions and 64 deletions

View File

@@ -1,12 +1,9 @@
#!/usr/bin/env zx
/**
* Script to run benchmarks either on the cloud benchmark environment or locally.
* The cloud environment needs to be provisioned using Terraform before running the benchmarks.
*
* NOTE: Must be run in the root of the package.
*
* Usage:
* zx scripts/run.mjs
*
*/
// @ts-check
import fs from 'fs';