diff --git a/.evergreen/run-granular-benchmarks.sh b/.evergreen/run-granular-benchmarks.sh index 52960320..80b6f17a 100644 --- a/.evergreen/run-granular-benchmarks.sh +++ b/.evergreen/run-granular-benchmarks.sh @@ -2,6 +2,13 @@ source "${PROJECT_DIRECTORY}/.evergreen/init-node-and-npm-env.sh" set -o xtrace + +export LIBRARY=$PWD + +if ! npm run build; then exit 1; fi + +npm run check:spec-bench + WARMUP=$WARMUP ITERATIONS=$ITERATIONS diff --git a/.evergreen/run-spec-benchmarks.sh b/.evergreen/run-spec-benchmarks.sh index 5ce90833..066d33cc 100644 --- a/.evergreen/run-spec-benchmarks.sh +++ b/.evergreen/run-spec-benchmarks.sh @@ -1,5 +1,12 @@ #!/usr/bin/env bash + source "${PROJECT_DIRECTORY}/.evergreen/init-node-and-npm-env.sh" +set -o xtrace + +export LIBRARY=$PWD + +if ! npm run build; then exit 1; fi + npm run check:spec-bench