File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -o errexit
4+
5+ source ./.evergreen/env.sh
6+
7+ cd benchmarks
8+ cargo run \
9+ --release \
10+ -- --output=" ../benchmark-results.json" -i 21
11+
12+ cat ../benchmark-results.json
Original file line number Diff line number Diff line change @@ -563,7 +563,8 @@ fn parse_ids(matches: ArgMatches) -> HashSet<BenchmarkId> {
563563 ids. insert ( BenchmarkId :: LdJsonMultiFileImport ) ;
564564 ids. insert ( BenchmarkId :: LdJsonMultiFileExport ) ;
565565 ids. insert ( BenchmarkId :: GridFsMultiDownload ) ;
566- ids. insert ( BenchmarkId :: GridFsMultiUpload ) ;
566+ // TODO RUST-2010 Re-enable this benchmark
567+ //ids.insert(BenchmarkId::GridFsMultiUpload);
567568 }
568569 if matches. is_present ( "bson" ) {
569570 ids. insert ( BenchmarkId :: BsonFlatDocumentDecode ) ;
@@ -589,13 +590,16 @@ fn parse_ids(matches: ArgMatches) -> HashSet<BenchmarkId> {
589590 ids. insert ( BenchmarkId :: GridFsDownload ) ;
590591 ids. insert ( BenchmarkId :: GridFsUpload ) ;
591592 ids. insert ( BenchmarkId :: GridFsMultiDownload ) ;
592- ids. insert ( BenchmarkId :: GridFsMultiUpload ) ;
593+ // TODO RUST-2010 Re-enable this benchmark
594+ //ids.insert(BenchmarkId::GridFsMultiUpload);
593595 }
594596
595597 // if none were enabled, that means no arguments were provided and all should be enabled.
596598 if ids. is_empty ( ) {
597599 ids = ( 1 ..=MAX_ID )
598600 . map ( |id| BenchmarkId :: try_from ( id as u8 ) . unwrap ( ) )
601+ // TODO RUST-2010 Re-enable this benchmark
602+ . filter ( |id| * id != BenchmarkId :: GridFsMultiUpload )
599603 . collect ( )
600604 }
601605
You can’t perform that action at this time.
0 commit comments