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> {
563
563
ids. insert ( BenchmarkId :: LdJsonMultiFileImport ) ;
564
564
ids. insert ( BenchmarkId :: LdJsonMultiFileExport ) ;
565
565
ids. insert ( BenchmarkId :: GridFsMultiDownload ) ;
566
- ids. insert ( BenchmarkId :: GridFsMultiUpload ) ;
566
+ // TODO RUST-2010 Re-enable this benchmark
567
+ //ids.insert(BenchmarkId::GridFsMultiUpload);
567
568
}
568
569
if matches. is_present ( "bson" ) {
569
570
ids. insert ( BenchmarkId :: BsonFlatDocumentDecode ) ;
@@ -589,13 +590,16 @@ fn parse_ids(matches: ArgMatches) -> HashSet<BenchmarkId> {
589
590
ids. insert ( BenchmarkId :: GridFsDownload ) ;
590
591
ids. insert ( BenchmarkId :: GridFsUpload ) ;
591
592
ids. insert ( BenchmarkId :: GridFsMultiDownload ) ;
592
- ids. insert ( BenchmarkId :: GridFsMultiUpload ) ;
593
+ // TODO RUST-2010 Re-enable this benchmark
594
+ //ids.insert(BenchmarkId::GridFsMultiUpload);
593
595
}
594
596
595
597
// if none were enabled, that means no arguments were provided and all should be enabled.
596
598
if ids. is_empty ( ) {
597
599
ids = ( 1 ..=MAX_ID )
598
600
. map ( |id| BenchmarkId :: try_from ( id as u8 ) . unwrap ( ) )
601
+ // TODO RUST-2010 Re-enable this benchmark
602
+ . filter ( |id| * id != BenchmarkId :: GridFsMultiUpload )
599
603
. collect ( )
600
604
}
601
605
You can’t perform that action at this time.
0 commit comments