From c3a0534b9b7ebd5d2b6bdfe5684dcae1932f35c7 Mon Sep 17 00:00:00 2001 From: Runji Wang Date: Wed, 15 May 2024 00:45:49 +0800 Subject: [PATCH] upload timings Signed-off-by: Runji Wang --- ci/scripts/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/scripts/build.sh b/ci/scripts/build.sh index f50c5a794ec8..026352908cf2 100755 --- a/ci/scripts/build.sh +++ b/ci/scripts/build.sh @@ -56,7 +56,8 @@ cargo build \ "${RISINGWAVE_FEATURE_FLAGS[@]}" \ --features embedded-deno-udf \ --features embedded-python-udf \ - --profile "$profile" + --profile "$profile" \ + --timings artifacts=(risingwave sqlsmith compaction-test risingwave_regress_test risingwave_e2e_extended_mode_test risedev-dev delete-range-test) @@ -66,6 +67,7 @@ ldd target/"$profile"/risingwave echo "--- Upload artifacts" echo -n "${artifacts[*]}" | parallel -d ' ' "mv target/$profile/{} ./{}-$profile && compress-and-upload-artifact ./{}-$profile" +buildkite-agent artifact upload target/cargo-timings/cargo-timing.html # This magically makes it faster to exit the docker rm -rf target