diff --git a/.evergreen/run-driver-benchmark-unresponsive.sh b/.evergreen/run-driver-benchmark-unresponsive.sh new file mode 100755 index 000000000..f7ba5693e --- /dev/null +++ b/.evergreen/run-driver-benchmark-unresponsive.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -o errexit + +source ./.evergreen/env.sh + +cd benchmarks +cargo run \ + --release \ + -- --output="../benchmark-results.json" -i 21 + +cat ../benchmark-results.json diff --git a/benchmarks/src/main.rs b/benchmarks/src/main.rs index f4b9676a2..b2110d51e 100644 --- a/benchmarks/src/main.rs +++ b/benchmarks/src/main.rs @@ -563,7 +563,8 @@ fn parse_ids(matches: ArgMatches) -> HashSet { ids.insert(BenchmarkId::LdJsonMultiFileImport); ids.insert(BenchmarkId::LdJsonMultiFileExport); ids.insert(BenchmarkId::GridFsMultiDownload); - ids.insert(BenchmarkId::GridFsMultiUpload); + // TODO RUST-2010 Re-enable this benchmark + //ids.insert(BenchmarkId::GridFsMultiUpload); } if matches.is_present("bson") { ids.insert(BenchmarkId::BsonFlatDocumentDecode); @@ -589,13 +590,16 @@ fn parse_ids(matches: ArgMatches) -> HashSet { ids.insert(BenchmarkId::GridFsDownload); ids.insert(BenchmarkId::GridFsUpload); ids.insert(BenchmarkId::GridFsMultiDownload); - ids.insert(BenchmarkId::GridFsMultiUpload); + // TODO RUST-2010 Re-enable this benchmark + //ids.insert(BenchmarkId::GridFsMultiUpload); } // if none were enabled, that means no arguments were provided and all should be enabled. if ids.is_empty() { ids = (1..=MAX_ID) .map(|id| BenchmarkId::try_from(id as u8).unwrap()) + // TODO RUST-2010 Re-enable this benchmark + .filter(|id| *id != BenchmarkId::GridFsMultiUpload) .collect() }