We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5e611 commit fb442edCopy full SHA for fb442ed
test/benchmarks/mongoBench/suites/multiBench.js
@@ -139,6 +139,22 @@ function makeMultiBench(suite) {
139
})
140
.teardown(dropDb)
141
.teardown(disconnectClient)
142
+ )
143
+ .benchmark('findManyAndToArray', benchmark =>
144
+ benchmark
145
+ .taskSize(16.22)
146
+ .setup(makeLoadJSON('tweet.json'))
147
+ .setup(makeClient)
148
+ .setup(connectClient)
149
+ .setup(initDb)
150
+ .setup(dropDb)
151
+ .setup(initCollection)
152
+ .setup(makeLoadTweets(false))
153
+ .task(async function () {
154
+ await this.collection.find({}).toArray();
155
+ })
156
+ .teardown(dropDb)
157
+ .teardown(disconnectClient)
158
);
159
}
160
0 commit comments