From 163ba295f1560b78f0789bdecf896287d509950c Mon Sep 17 00:00:00 2001 From: Robert Bastian Date: Thu, 10 Aug 2023 12:41:33 +0200 Subject: [PATCH] #3806 followup (#3835) --- .github/workflows/artifacts-build.yml | 8 ++++---- components/normalizer/Cargo.toml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/artifacts-build.yml b/.github/workflows/artifacts-build.yml index 87736661c85..661e271c401 100644 --- a/.github/workflows/artifacts-build.yml +++ b/.github/workflows/artifacts-build.yml @@ -283,7 +283,7 @@ jobs: if: success() || failure() run: | git checkout empty - gsutil -m cp -r benchmarks/perf/${{ matrix.component }} gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks/perf/${{ matrix.component }} + gsutil -m cp -r benchmarks/perf/${{ matrix.component }} gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks/perf # Run examples with dhat-rs in order to collect memory heap size metrics. These # metrics will then be charted over time. See tools/benchmark/memory/README.md for @@ -399,7 +399,7 @@ jobs: if: success() || failure() run: | git checkout empty - gsutil -m cp -r benchmarks/memory/${{ matrix.os }} gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks/memory/${{ matrix.os }} + gsutil -m cp -r benchmarks/memory/${{ matrix.os }} gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks/memory # Binary size benchmark: build and size wasm binaries; creates ndjson output data format bench-binsize: @@ -518,7 +518,7 @@ jobs: if: success() || failure() run: | git checkout empty - gsutil -m cp -r benchmarks/binsize/ gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks/binsize + gsutil -m cp -r benchmarks/binsize gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks # Data size benchmark: track size of provider/datagen/tests/data/testdata.postcard (total data size). bench-datasize: @@ -582,7 +582,7 @@ jobs: if: success() || failure() run: | git checkout empty - gsutil -m cp -r benchmarks/datasize/ gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks/datasize + gsutil -m cp -r benchmarks/datasize gs://${{ env.GCP_MAIN_BUCKET_ID }}/gha/benchmarks gh-pages: name: "Deploy to GitHub Pages" diff --git a/components/normalizer/Cargo.toml b/components/normalizer/Cargo.toml index 5b68e62b7f5..e70ca4f48c0 100644 --- a/components/normalizer/Cargo.toml +++ b/components/normalizer/Cargo.toml @@ -50,6 +50,8 @@ arrayvec = "0.7.2" atoi = "1.0.0" write16 = { version = "1.0", features = ["arrayvec"] } detone = "1.0.0" + +[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] criterion = "0.4.0" [features]